# Use Auth0 session access token to authenticate social connection API

**URL:** <https://community.auth0.com/t/use-auth0-session-access-token-to-authenticate-social-connection-api/128234>\
**Category:** Get Help\
**Tags:** oidc-enterprise-connection, connections\
**Created:** [February 24, 2024, 1:02pm UTC](https://community.auth0.com/t/use-auth0-session-access-token-to-authenticate-social-connection-api/128234 "2024-02-24T13:02:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vholik](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vholik/32/55067_2.png) [@vholik](https://community.auth0.com/u/vholik)\
**Post date:** [February 24, 2024, 1:02pm UTC](https://community.auth0.com/t/use-auth0-session-access-token-to-authenticate-social-connection-api/128234/1 "2024-02-24T13:02:35Z")

</div>

I have OAuth idp provider(you can think of that as a Facebook developer application) that I’ve connected in my Auth0 custom social connection panel. Everything works fine except access token that i get from OAuth IdP provider is different that Auth0 access\_token and i can not make request with Auth0 access token to private API. I made diagram to make it more clear.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/2/8/28f40e828dbb83eedb296551e78b6068403fbb3f.jpeg)

---

<div class="post-metadata">

**Author:** ![vholik](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vholik/32/55067_2.png) [@vholik](https://community.auth0.com/u/vholik)\
**Post date:** [February 26, 2024, 11:25am UTC](https://community.auth0.com/t/use-auth0-session-access-token-to-authenticate-social-connection-api/128234/2 "2024-02-26T11:25:20Z")

</div>

I found what i’ve been looking for. [Call an Identity Provider API](https://auth0.com/docs/authenticate/identity-providers/calling-an-external-idp-api). What I need is actually to call Auth0 Managment API to get user identity provider access\_token that later i can use to access protected API.

---

<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:** [March 11, 2024, 11:25am UTC](https://community.auth0.com/t/use-auth0-session-access-token-to-authenticate-social-connection-api/128234/3 "2024-03-11T11:25:35Z")

</div>

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