# No receiving IDToken

**URL:** <https://community.auth0.com/t/no-receiving-idtoken/45138>\
**Category:** Get Help\
**Created:** [June 23, 2020, 1:15pm UTC](https://community.auth0.com/t/no-receiving-idtoken/45138 "2020-06-23T13:15:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ideapiece](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ideapiece/32/12776_2.png) [@ideapiece](https://community.auth0.com/u/ideapiece)\
**Post date:** [June 23, 2020, 1:15pm UTC](https://community.auth0.com/t/no-receiving-idtoken/45138/1 "2020-06-23T13:15:40Z")

</div>

Hi! I’m new to Auth0 and maybe you can help?

When logging for the first time through the /authorize endpoint and then asking for a token through the /oauth/token endpoint I receive the IDToken.

In other words, the response is like that:

{  
“access\_token”: …,  
“id\_token”: …,  
“scope”:“openid profile email”,  
“expires\_in”: 86400,  
“token\_type”: “Bearer”  
}

But when I use the “Last time you logged in with” (or alternatively I enable seamless SSO) and later ask for the token, my response looks like that:

{  
“access\_token”: …,  
“expires\_in”: 86400,  
“token\_type”: “Bearer”  
}

This breaks some of the assumptions of my application. Can I make the responses to both include the IDToken? If not, am I doing something wrong?

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![ideapiece](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ideapiece/32/12776_2.png) [@ideapiece](https://community.auth0.com/u/ideapiece)\
**Post date:** [June 23, 2020, 2:26pm UTC](https://community.auth0.com/t/no-receiving-idtoken/45138/2 "2020-06-23T14:26:41Z")

</div>

I have solved the problem myself.

The problem was that I have not included the scope parameter including the value “openid” in the request parameters.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 23, 2020, 2:39pm UTC](https://community.auth0.com/t/no-receiving-idtoken/45138/3 "2020-06-23T14:39:40Z")

</div>

Perfect! Thanks for sharing with the rest of community!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 8, 2020, 2:39pm UTC](https://community.auth0.com/t/no-receiving-idtoken/45138/4 "2020-07-08T14:39:41Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
