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
No description
No description
No description
7 Replies
Peteswah
Peteswah4mo ago
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
Merlinofchaos
Merlinofchaos4mo ago
It's still doesn't work and here it's the decoded Id token
No description
Merlinofchaos
Merlinofchaos4mo ago
I tried with a complete new user with a default role
Daniel_Kinde
Daniel_Kinde4mo ago
HI, it looks like your customising the access token and looking at the id token?
Merlinofchaos
Merlinofchaos4mo ago
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 ?
onderay
onderay3mo ago
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.
Merlinofchaos
Merlinofchaos3mo ago
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 !
Want results from more Discord servers?
Add your server