# Can't set up Discourse ID: Application with this redirect URI already exists

**URL:** https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991
**Category:** Self-hosting
**Tags:** discourse-id
**Created:** [9 maart 2026 om 19:35 UTC](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991 "2026-03-09T19:35:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Linus1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/linus1/32/546573_2.png) [@Linus1](https://meta.discourse.org/u/Linus1)
#### Post date: [9 maart 2026 om 19:35 UTC](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991/1 "2026-03-09T19:35:24Z")

</div>

Hi!

I have set up a discourse instance. The first time, I did not configure SMTP in order to set up Discourse ID, which did work. But then I reinstalled the whole app - this time configuring SMTP during setup.

Now, when I try to enable Discourse ID via the Admin panel, it does not work. And it says in the production.log:

`Error: {“errors”:[“You supplied invalid parameters to the request: Application with this redirect URI already exists”], “error_type”:”invalid_parameters”}`

Is there a way to remove the old instance from Discourse ID?

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [9 maart 2026 om 20:20 UTC](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991/2 "2026-03-09T20:20:33Z")

</div>

Yes, please send me a PM here with the URL of your instance and I’ll clear the existing credentials. (This is a temporary fix, we’re in the process of making this workflow better.)

---

<div class="post-metadata">

### Author: ![Linus1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/linus1/32/546573_2.png) [@Linus1](https://meta.discourse.org/u/Linus1)
#### Post date: [9 maart 2026 om 20:34 UTC](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991/3 "2026-03-09T20:34:54Z")

</div>

Okay, will do. Just have to get to the next trust level so I can send a DM. 😃

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [19 maart 2026 om 18:03 UTC](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991/4 "2026-03-19T18:03:00Z")

</div>

Thanks for helping me with the same problem!

Looking forward to the flow improving in future.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [18 april 2026 om 18:03 UTC](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991/5 "2026-04-18T18:03:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
