SSO and Auth0

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!

Hi!

You may use the Discourse OAuth2 Basic Plugin.

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.

1 Like

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!

1 Like

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.