Auth0 Home Blog Docs

Getting Id_token on authorize call



How can I get the id_token by just login in? or do I have to call the /oauth/token to get it?


Hey there @maor.shiran!

You can find everything about id_tokens here:

How to obtain, renew, use etc everything is there but basically In order to retrieve an ID Token, the responseType should include id_token , both for client-side and server-side authentication flows but you can also obtain an ID Token, using the /oauth/token endpoint.

Hope it helps!


Thanks for that.
I figured out that openid needs to be in the scope in the authorize request


Glad you make it work!