# SSO and Auth0

**URL:** https://meta.discourse.org/t/sso-and-auth0/325340
**Category:** SSO
**Created:** [September 6, 2024, 3:40pm UTC](https://meta.discourse.org/t/sso-and-auth0/325340 "2024-09-06T15:40:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Claire\_C](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/claire_c/32/446719_2.png) [@Claire\_C](https://meta.discourse.org/u/Claire_C)
#### Post date: [September 6, 2024, 3:40pm UTC](https://meta.discourse.org/t/sso-and-auth0/325340/1 "2024-09-06T15:40:11Z")

</div>

Hi all!

Our team is looking to move our community to Discourse and I was wondering if anyone could tell me about integrating Auth0 with Discourse? I’m currently data gathering, so was there help from Discourse for integrating the SSO or was it only your team that sorted it? How easy/difficult was it?

Thank in advance!

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [September 6, 2024, 4:05pm UTC](https://meta.discourse.org/t/sso-and-auth0/325340/2 "2024-09-06T16:05:08Z")

</div>

Hi!

You may use the [Discourse OAuth2 Basic Plugin](https://meta.discourse.org/t/discourse-oauth2-basic/33879).

> [@Configure sign up and log in with Auth0 using the OAuth2 Basic Plugin](https://meta.discourse.org/t/configure-sign-up-and-log-in-with-auth0-using-the-oauth2-basic-plugin/64633):
>
> If you are using [Auth0](https://auth0.com/) as your identity provider this guide will show you how to setup authentication using the [Discourse OAuth2 Basic Plugin](https://meta.discourse.org/t/oauth2-basic-support/33879). Initial Steps Create an Auth0 account if you don’t already have one The [Discourse OAuth2 Basic Plugin](https://meta.discourse.org/t/oauth2-basic-support/33879) ships pre-installed with Discourse. If you are self-hosted, ensure the plugin is enabled. For [hosted plans](https://www.discourse.org/pricing), the plugin is available on Business tier and above. Configure Auth0 Applications → Create Application Give your client a name like “Discourse…

If `enable_local_logins` is disabled and this is the single auth provider you have configured, users will automatically go through Auth0’s OAuth flow when logging-in/signing-up.

---

<div class="post-metadata">

### Author: ![Claire\_C](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/claire_c/32/446719_2.png) [@Claire\_C](https://meta.discourse.org/u/Claire_C)
#### Post date: [September 20, 2024, 5:02pm UTC](https://meta.discourse.org/t/sso-and-auth0/325340/3 "2024-09-20T17:02:36Z")

</div>

Thanks @renato!

Have you had experience in setting this up, please? We’re trying to figure out how much work it will be to set it up, effort and time wise. Thanks so much!

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [September 20, 2024, 5:16pm UTC](https://meta.discourse.org/t/sso-and-auth0/325340/4 "2024-09-20T17:16:09Z")

</div>

The OAuth2 path to add Auth0 as a login option should be really straightforward, basically configuring the OAuth2 plugin by defining the site settings mentioned in the linked documentation, with the values for Client ID, Client Secret, etc that you grab from you Auth0 Application.
