How Discourse ID works

rishabh
Thu, 28 Aug 2025 15:59:23 +0000
Site Management

What is Discourse ID?

Discourse ID provides a faster login experience across participating Discourse sites so you don’t have to create separate logins for each Discourse you visit and you can join any participating Discourse sites with just one click. It also lets Discourse admins offer a simplified login experience, with support for social logins with no setup or configuration needed.

Every time you see “Log in with Discourse ID” on a Discourse site, you’re seconds away from meaningful conversations that count

Why use Discourse ID?

Create once, use everywhere

Sign up for Discourse ID once and use it across all participating Discourse communities

No need to remember multiple usernames and passwords for different forums

Use Google, Apple, Facebook, GitHub, or your email to join Discourse ID (more options coming soon)

Common Questions

Which social login platforms are supported out of the box? Without any configuration required, Discourse ID ships with Google, Facebook, Apple and GitHub logins (more coming soon).

Is this the same as Single Sign-On (SSO)? Discourse ID is SSO, but specifically designed for Discourse sites.

Do community owners see all my activity? No, your activity on one forum isn’t visible to owners of other forums.

Why doesn’t Discourse ID work on some sites? Discourse ID is a new feature and some communities have not opted in yet. Ask your community admin to enable it (or check again later).

Ready to enable Discourse ID on your community? If you’d like to offer a seamless login experience for your members, navigate to Admin → Login & authentication → Discourse ID (/admin/config/login-and-authentication/discourse-id) to enable it. ID is available everywhere, including sites hosted by us and self-hosted sites. If you’re running into issues, please ensure that the force_https setting is enabled.

Can I use Discourse ID in the DiscourseHub app? You can log in to individual sites that have enabled Discourse ID in the DiscourseHub app (like any other login method). We are also working on better integration between Discourse ID and DiscourseHub. Stay tuned!

Troubleshooting

For a Discourse site to use Discourse ID, it must be under the https protocol and be visible on the Internet (i.e. ID cannot be enabled for intranet sites). For further troubleshooting, please check the discourse-id tag or create a new topic in the correct category i.e. bug / Support / ux with that tag.

Reconfiguring ID after changing domain names

After changing your site’s domain name, to trigger a new registration you need to

1. Empty the client id and secret for the discourse id settings. These are hidden site settings, so you need to use the Rails console:

./launcher enter app
rails c
SiteSetting.discourse_id_client_id = ""
SiteSetting.discourse_id_client_secret = ""

2. Toggle off/on the Enable Discourse ID setting from the admin panel.

23 сообщения - 13 участников