Access Token customisation not working as wanted

I trying to use Auth0 Rules to modify the JWT access token generated at login. I am using SPA PKCE flow for authentication.
The issue Iā€™m running into is that not all custom keys attached to the access token are getting added to the final token.
For example, I can add keys with a namespace weblink like https::// or something similar, however without a web-like link, if I try setting for myKey directly, it does not add to the access token I receive in my browser.

Following is the pattern I found:

Is there a reason why only keys starting with http: or https: is working?
Can this support regular key names?

Hi @arnabroy1907dev

You must specify a custom namespace with claims.


1 Like