# What's causing the login issue?

**URL:** https://meta.discourse.org/t/topic/400487
**Category:** Support
**Tags:** discourse-id
**Created:** [April 12, 2026, 9:16am UTC](https://meta.discourse.org/t/topic/400487 "2026-04-12T09:16:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [April 12, 2026, 10:36am UTC](https://meta.discourse.org/t/topic/400487/2 "2026-04-12T10:36:03Z")

</div>

Hi there, does this help?

> [@The Discourse ID cannot be used after changing the forum domain](https://meta.discourse.org/t/the-discourse-id-cannot-be-used-after-changing-the-forum-domain/394238/2):
>
> Have you tried regenerating it after you changed the domain? At `/admin/config/login-and-authentication/discourse-id` there is a button to do that
> 
> ![Screenshot_20260124_092212_Firefox](https://global.discourse-cdn.com/meta/original/4X/c/5/d/c5d6b4576702e918eddbb401a3fdf99a4085ab5f.jpeg)
> 
> If that doesn’t help, the steps described in this topic should help: [Changing domain names prevents Discourse ID from working](https://meta.discourse.org/t/changing-domain-names-prevents-discourse-id-from-working/386102/)

If not, perhaps this?

> [@The Discourse ID cannot be used after changing the forum domain](https://meta.discourse.org/t/the-discourse-id-cannot-be-used-after-changing-the-forum-domain/394238/3):
>
> Regenerating the credentials didn’t work, but the method in that post did. Thank you for finding it for me.
> 
> > [@Changing domain names prevents Discourse ID from working](https://meta.discourse.org/t/changing-domain-names-prevents-discourse-id-from-working/386102/3):
> >
> > ```plaintext
> > ./launcher enter app
> > rails c
> > SiteSetting.discourse_id_client_id = ""
> > SiteSetting.discourse_id_client_secret = ""
> > 
> > ```

---

_[View the full topic](https://meta.discourse.org/t/topic/400487)._
