Fetch roles inside token
I have an issue for getting back the roles inside the access token.
My user has a default role and I ticked Roles from customize access token:
Did I forgot to activate something ?
Thanks for your help
7 Replies
Hey @Merlinofchaos ! you may need to log out and log back in to see the effects
If you still can't find it, I would be tempted to check the id_token as well just in case
It's still doesn't work and here it's the decoded Id token
I tried with a complete new user with a default role
HI, it looks like your customising the access token and looking at the id token?
Ok indeed I was looking at the wrong token, so inside the access token I can see the roles
Thanks for that
I have just a last question is there any way to inject the roles inside the Id token ?
Not currently, roles can be added into the access token instead https://docs.kinde.com/build/tokens/token-customization/#select-information-to-add-to-token
Kinde docs
Token customization
Our developer tools provide everything you need to get started with Kinde.
Okay it's been a month (and I opened another post around the same time, which doesn't have an answer yet as well), so I switched to another provider.
Good luck !