# OKTA and Auth0 integration to authenticate a specific user

**URL:** <https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741>\
**Category:** Get Help\
**Tags:** account-linking, user-management\
**Created:** [January 7, 2025, 11:49am UTC](https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741 "2025-01-07T11:49:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eimear.Doyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eimear.doyle/32/70035_2.png) [@Eimear.Doyle](https://community.auth0.com/u/Eimear.Doyle)\
**Post date:** [January 7, 2025, 11:49am UTC](https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741/1 "2025-01-07T11:49:58Z")

</div>

I’m trying to start working on a project where there are two systems involved (angular UI)  
The first (external) application uses OKTA for authentication.  
The second (internal) application uses Auth0 for authentication.

The user will login into the external application and be authenticated.  
They will click on some link - that will seamlessly redirect them to a widget of the second internal application (which will load in a pop up) - without needing the user to re-authenticate with Auth0.

Rough conceptual flow:  
User (external system) → Okta: Authenticate  
Okta → Generate User: Okta Token  
User → Click on widget link and Send Okta Token as a parameter  
Internal System → Validate Okta Token - decode the token and pull out user information - e.g.email  
Internal System → Call Auth0: Request Auth0 Token for the particular user --HOW???  
Auth0 → returns Auth0 Token for the particular user  
Widget → Uses that Auth0 Internal Token to proceed.

Apologies- I’m new to Auth0 and OKTA - so I need the dummy version please.

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [January 7, 2025, 11:23pm UTC](https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741/3 "2025-01-07T23:23:29Z")

</div>

Hi @Eimear.Doyle,

Welcome to the Auth0 Community!

Just so I understand your use case, can you confirm my understanding:

User logs into Okta. User clicks on a chiclet in Okta and is authenticated into an Auth0 application.

If I’m misunderstanding, can you provide more information on your use case?

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![Eimear.Doyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eimear.doyle/32/70035_2.png) [@Eimear.Doyle](https://community.auth0.com/u/Eimear.Doyle)\
**Post date:** [January 8, 2025, 9:30am UTC](https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741/4 "2025-01-08T09:30:49Z")

</div>

> [@marybeth.hunter](#):
>
> User logs into Okta. User clicks on a chiclet in Okta and is authenticated into an Auth0 application.

Hi Mary Beth,  
Thanks for your help - I really appreciate it.

Yes - correct User logs into the 1st application using Okta. User clicks on a link that application - which is redirecting them into a separate application that is authenticated into an Auth0 application.  
While from the backend/technical perspective - they are two completely different applications (with different ways of authenticating) - to the end users perspective - it needs to look like one unified application (and they won’t be redirected or asked to authenticate twice).

I saw this feature in your documentation: custom-token-exchange-beta  
To me, this sounds like it might be a solution to try for the use case.  
However when I tried it – I got an error saying  
“error”: “invalid\_request”,  
“error\_description”: “Feature is disabled for this tenant”

Is there a way to enable that feature in Auth0 tenant? What would that involve?

Thanks again,

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [January 13, 2025, 6:21pm UTC](https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741/5 "2025-01-13T18:21:16Z")

</div>

Hi @Eimear.Doyle,

The custom-token-exchange-beta was closed to new participants in November 2024, but customers will be able to start onboarding once we open/announce EA, which is expected for the end of this month, January 2025. Therefore, you should be able to start using the Token Exchange feature around the end of this month.

Additionally, I recommend taking a look at this article: [Setup SSO for Auth0 Sample App With Okta As IdP](https://community.auth0.com/t/setup-sso-for-auth0-sample-app-with-okta-as-idp/148166)

Please let me know if you have any additional questions!

Best,

Mary Beth

---

<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:** [January 27, 2025, 6:21pm UTC](https://community.auth0.com/t/okta-and-auth0-integration-to-authenticate-a-specific-user/167741/6 "2025-01-27T18:21:38Z")

</div>

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