Auth0 Home Blog Docs

Getting Id_token on authorize call

id_token

#1

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


#3

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!


#4

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


#5

Glad you make it work!