bunqCommunity / bunqJSClient

A javascript SDK for the bunq API
MIT License
58 stars 23 forks source link

How to get callback to work. #28

Closed strunkie30 closed 5 years ago

strunkie30 commented 5 years ago

Hej All,

Is there an example available how to use certificate pinning? My callback doesn't trigger and I think that certificate pinning must be configured somewhere..

Crecket commented 5 years ago

I think that something else is going on if you're not receiving callbacks. If you check the server logs do you see any requests coming in?

This library was built for client-side JS apps and although we support NodeJS servers now it doesn't include things like callback handling and certificate pinning for now.

strunkie30 commented 5 years ago

I've solved the issue by adding the certificate-pinned endpoints. Maybe its an idea to add them to this library for a better nodejs support!