# How Discourse ID works

**URL:** https://meta.discourse.org/t/how-discourse-id-works/379565
**Category:** Site Management
**Tags:** discourse-id
**Created:** [August 28, 2025, 3:59pm UTC](https://meta.discourse.org/t/how-discourse-id-works/379565 "2025-08-28T15:59:23Z")
**Posts on this page:** 1
**Showing post:** 31

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [January 24, 2026, 6:54pm UTC](https://meta.discourse.org/t/how-discourse-id-works/379565/31 "2026-01-24T18:54:50Z")

</div>

I think I would have put the rails script right below step 1

> [@rishabh](#):
>
> 1. empty the client id and secret for the discourse id settings

Those are hidden site settings, so there is no other way to change them than using the Rails console

> <https://github.com/discourse/discourse/blob/6aada5a68f0ec308c4a3f5f76b7a901da33733a6/config/site_settings.yml#L646-L652>

---

_[View the full topic](https://meta.discourse.org/t/how-discourse-id-works/379565)._
