Error: Invalid state after calling getTokenWithPopup

I keep getting the error

Error: Invalid state
    at e.<anonymous> (auth0-spa-js.production.js:15)
    at auth0-spa-js.production.js:15
    at (auth0-spa-js.production.js:15)
    at a (auth0-spa-js.production.js:15)

after using the function getTokenWithPopup({audience: myAudience}).

Any clues what can cause such error?

If I am in development environment, how can I work without the minify production js library? (so I can get a better understanding of the root of this problem)

Hey there,

Can I ask you to raise this as an issue in the auth0-spa-js GitHub repo and then share the link to it with us here? Thanks!

Hey there @shahar.shalev!

Have you had a chance to open a GitHub issue or solve your hurdle in the meantime?

Ping ping friendly ping :slight_smile:

This topic was automatically closed after 4 days. New replies are no longer allowed.