Hello!
I’m using the JavaScript SDK with a login button.
When logging in, the redirect uri that I’ve provided in the authorize call gets called multiple times.
When looking into the SDK I see you use _poller
which is looping the calls until a response is given.
Right now this seems to be creating errors on my side, since the callback function is called multiple (usually three) times.
So I got two questions:
- Is this necessary?
- If necessary, do you have any recommendation of how to handle multiple callbacks from your SDK?
Best wishes,
Martin