# 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 במרץ,‏ 2026,‏ 7:35pm 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:** 1
**Showing post:** 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 במרץ,‏ 2026,‏ 7:35pm 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?

---

_[View the full topic](https://meta.discourse.org/t/cant-set-up-discourse-id-application-with-this-redirect-uri-already-exists/397991)._
