Hi all,
Very new, and I’m writing a POC using a trial account. I need to embed a user-redirect in the state parameter on my authentication request
My state is of the form
{
"nonce": {
"user-redirect": <url>
}
}
And I base64url encode it when requesting authentication:
https://<sandbox>.auth0.com/authorize?redirect_uri=<redirect_uri>&client_id=<client_id>&response_type=id_token&nonce=NONCE&state=<base64urlstate>
I successfully authenticate (using Google IDP), and the redirect successfully reaches my server (redirect_uri), but the state query param is not present in the redirected request.
Any ideas what I might be doing wrong?