# Validate access token that were created in another IDP

**URL:** <https://community.auth0.com/t/validate-access-token-that-were-created-in-another-idp/100294>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [February 12, 2023, 11:39am UTC](https://community.auth0.com/t/validate-access-token-that-were-created-in-another-idp/100294 "2023-02-12T11:39:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yotamb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yotamb/32/44571_2.png) [@yotamb](https://community.auth0.com/u/yotamb)\
**Post date:** [February 12, 2023, 11:39am UTC](https://community.auth0.com/t/validate-access-token-that-were-created-in-another-idp/100294/1 "2023-02-12T11:39:15Z")

</div>

Hello,

I wish to implement the following architecture:

1. My\_IDP (implemented using Auhtlib) generate an access token using a custom grant
2. The user sends this token in the security header as a Bearer token to API\_A which then validates that token with Auth0
3. Auth0 receives that token and validates it against My\_IDP

I’m guessing that this architecture is possible since I noticed that:  
[https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/oidc](https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/oidc)

However Authlib doesn’t implement the Discover Endpoint (.well-known/openid-configurati\_on) so I need to do it myself. What information does Auth0 requires from that endpoint so it can validate a token? Thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 15, 2023, 4:25pm UTC](https://community.auth0.com/t/validate-access-token-that-were-created-in-another-idp/100294/3 "2023-02-15T16:25:00Z")

</div>

Hi @yotamb,

Welcome to the Auth0 Community!

Usually you can validate the token without having to reach out to Auth0. JWT tokens contain a signature that your API\_A can use to verify the token. Take a look at common libraries at [JWT.io](http://JWT.io).

---

<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 28, 2023, 1:24pm UTC](https://community.auth0.com/t/validate-access-token-that-were-created-in-another-idp/100294/4 "2023-03-28T13:24:17Z")

</div>

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