# "access\_token" missing in user info SAML2 Web App identity, read:user\_idp\_tokens present in Management API access token

**URL:** <https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097>\
**Category:** Get Help\
**Created:** [July 13, 2021, 10:41pm UTC](https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097 "2021-07-13T22:41:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin35](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin35/32/12951_2.png) [@admin35](https://community.auth0.com/u/admin35)\
**Post date:** [July 13, 2021, 10:41pm UTC](https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097/1 "2021-07-13T22:41:20Z")

</div>

Hi Everyone,

I am following [Call an Identity Provider API](https://auth0.com/docs/connections/calling-an-external-idp-api#from-the-backend) documentation to call IdP API. My setup is done using [Test SAML SSO with Auth0 as Service Provider and Identity Provider](https://auth0.com/docs/protocols/saml-protocol/configure-auth0-as-service-and-identity-provider), so the SAML2 Web App is used for providing the identity.

I have verified that when making the call to get user data via Management API , the `access_token` includes the `read:user_idp_tokens` scope.

Still, the response I get does not include `access_token` in the `identities` only object, although I get name, email, etc.

Is it the limitation of using SAML2 Web App? Or something else that is missing?

Thank you in advance!

admin35

---

<div class="post-metadata">

**Author:** ![colin.coutts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colin.coutts/32/17217_2.png) [@colin.coutts](https://community.auth0.com/u/colin.coutts)\
**Post date:** [July 15, 2021, 9:31pm UTC](https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097/2 "2021-07-15T21:31:22Z")

</div>

Hi @admin35

Thanks for reaching out, I don’t believe the application configured as the SAML IdP will send an Access Token by default. Can you try this with one of the example IdPs given in the doc you sent over like GitHub or Facebook? That’d be a good test to confirm the behavior.

Best Regards,  
Colin

---

<div class="post-metadata">

**Author:** ![admin35](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin35/32/12951_2.png) [@admin35](https://community.auth0.com/u/admin35)\
**Post date:** [July 15, 2021, 11:14pm UTC](https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097/3 "2021-07-15T23:14:36Z")

</div>

Hi @colin.coutts,

Thank you for your response. We managed to bypass the need for the access token, by using rule to read roles assigned to the user in IdP.

Best regards,  
admin35

---

<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:** [July 16, 2021, 6:29am UTC](https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097/4 "2021-07-16T06:29:28Z")

</div>

Perfect! Glad it all came together!

---

<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:** [July 29, 2021, 8:42am UTC](https://community.auth0.com/t/access-token-missing-in-user-info-saml2-web-app-identity-read-user-idp-tokens-present-in-management-api-access-token/66097/5 "2021-07-29T08:42:13Z")

</div>


