Hello! I’ve been reading @auth0/auth0-spa-js | @auth0/auth0-spa-js and I’m having a hard time trying to figure out how to set the state property so that after a user logs into auth0 the state object can be read and utilised after the login.
We have persist a value that we are not allowed to lose and must come from that specific login flow, we can’t store it in local storage/cookies for specific reasons.
I’m currently thinking of putting a custom value as a query parameter but this isn’t exactly safe:
redirect_uri: location.href + '?myKey=myValue'