How can I access and handle the ID Token?

Hello everyone, I have a question regarding the ID Token. When a user signs up or logs in using Auth0 services, this ID Token is then “sent” to the callback url (if I am correct; if I am not, please let me know). Based on some posts I read, this ID Token contains the user data of the currently logged in user. So, I was wondering how can I access and handle this ID Token since I need user information (like email and username) available on my website for the currently logged in user.

For my application, I am using Shiny R running on a AWS instance.

Any help will be greatly appreciated. Thanks.

Hi @ysaez and welcome to the Auth0 Community! :tada:

I’m afraid I’m not familiar with the r language, nor do we have any convenient quickstarts covering that programming language unfortunately. However I can certainly provide some documentation on how your app should validate a JWT (which is the format for Auth0 issued IdTokens).


I hope that information is helpful, let us know if you have any further concerns.

Best,
Colin

1 Like