# External Identity Provider Tokens

**URL:** <https://devforum.okta.com/t/external-identity-provider-tokens/21591>\
**Category:** OAuth/OIDC\
**Created:** [August 16, 2022, 8:35pm UTC](https://devforum.okta.com/t/external-identity-provider-tokens/21591 "2022-08-16T20:35:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapple](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@kapple](https://devforum.okta.com/u/kapple)\
**Post date:** [August 16, 2022, 8:35pm UTC](https://devforum.okta.com/t/external-identity-provider-tokens/21591/1 "2022-08-16T20:35:16Z")

</div>

Hi,

We are onboarding an OIDC external identity provider onto Okta and we need to have access to their tokens from the log in in addition to ours for access to their APIs. Is there any way to retrieve them through the automatic OIDC External Identity Provider process?

Thanks,  
Kim

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [August 17, 2022, 4:21pm UTC](https://devforum.okta.com/t/external-identity-provider-tokens/21591/2 "2022-08-17T16:21:23Z")

</div>

If the users logged into Okta through an OIDC provider, an admin can access their tokens via this API call, GET ` /api/v1/idps/${idpId}/users/${userId}/credentials/tokens`, see [Identity Providers | Okta Developer](https://developer.okta.com/docs/reference/api/idps/#social-authentication-token-operation)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [November 29, 2022, 8:02pm UTC](https://devforum.okta.com/t/external-identity-provider-tokens/21591/3 "2022-11-29T20:02:46Z")

</div>

Closed on November 29, 2022, 8:02pm UTC

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