How to get token id by passing access token to auth0 api


I’m struggling with a solution for my client. Request anyone to help me with this.
I’m developing a gateway which to which a SPA would send an access token.
The ask is to get the token id from the access token.
Is there any api in auth0 or any other way in which I get this done? is it even possible to do it?
Any support in this regards would be helpful.

Welcome to the Auth0 Community, @manoj.joshi!

When you say token id, you mean ID Token, right? As far as I know, there isn’t a way to get an id_token from an access_token.

Could you describe your use case? Why would you want to do that? If you want to use an issued Access Token to retrieve the data that you would normally find inside an ID Token, you could just call our /userinfo endpoint.

1 Like