# Creating a custom OpenID Connect connection into Auth0

**URL:** <https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847>\
**Category:** Get Help\
**Tags:** custom-connection, openidconnect, oauth2\
**Created:** [November 29, 2017, 8:48am UTC](https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847 "2017-11-29T08:48:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rory.braybrook](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rory.braybrook/32/12835_2.png) [@rory.braybrook](https://community.auth0.com/u/rory.braybrook)\
**Post date:** [November 29, 2017, 8:48am UTC](https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847/1 "2017-11-29T08:48:27Z")

</div>

I know that you can add custom OpenID Connections to Auth0 (as in adding a social connection). (An outwards connection).  
I want the opposite: (An inwards connection).  
Application → Another IDP → OIDC → Auth0  
Is there a way to do this?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 29, 2017, 7:06pm UTC](https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847/2 "2017-11-29T19:06:53Z")

</div>

Yes, the Auth0 service supports acting as the identity provider using either OIDC/OAuth 2.0, SAML and WS-Federation. Your use case falls in the scenario that the tenant/domain is acting as an OIDC identity provider for a client application that you configure in the _Clients_ section of the dashboard.

Technically, the fact that the client application you’re configuring is then also acting as an identity provider is irrelevant to the service. What needs to be supported in that scenario is the following:

- Auth0 service needs to support acting as an OIDC identity provider - ( **Fully supported** ).
- The _Another IDP_ needs to support acting as an OIDC client application - ( **Depends on the IDP** ).

---

<div class="post-metadata">

**Author:** ![rory.braybrook](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rory.braybrook/32/12835_2.png) [@rory.braybrook](https://community.auth0.com/u/rory.braybrook)\
**Post date:** [November 30, 2017, 2:24am UTC](https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847/3 "2017-11-30T02:24:45Z")

</div>

Just to confirm: If I have an IDP that supports client-side OIDC, I can connect this to an Auth0 client by using the Auth0 clientID, secret key etc.?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 30, 2017, 10:42pm UTC](https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847/4 "2017-11-30T22:42:23Z")

</div>

Yes, you can connect it to Auth0 by using the client identifier and secret assigned to the client application you created in the dashboard to represent that _IdP_.

---

<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 2, 2018, 5:57am UTC](https://community.auth0.com/t/creating-a-custom-openid-connect-connection-into-auth0/8847/5 "2018-03-02T05:57:35Z")

</div>


