Can't setup Discourse ID: Application with this redirect URI already exists

On enabling the ID, I get the already known error about discourse_id_client_id and discourse_id_client_secret being empty.
Running
./launcher enter app
rails c
DiscourseId::Register.call

gives me this error:
#<Service::Base::Context:0x0000e6607be53cc0 @failure=true, @store={:error=>{:error=>"Registration failed: 400\nError: {\"errors\":[\"You supplied invalid parameters to the request: Application with this redirect URI already exists\"],\"error_type\":\"invalid_parameters\"}"}}>}>

I don’t know if I’m blind but i can’t find a way to reset the Application registration so that my forum can get a fresh set of the required secrets form the id service.

Any idea?

Are you behind a reverse proxy of some sort? (Nginx, apache, cloudflare, bunny?)

Ah. Wait.

I’d think that it would simply create new credentials in this case.

Would you mind sharing the URL of your forum? Either here, publicly, or via a PM, privately.

That will help diagnose the issue on our end.

1 Like

:white_check_mark: Error was resolved.

2 Likes