I have this problem when logging out my users from my application that I'm being returned the wrong logout URL by FusionAuth.
I've got two applications configured in FusionAuth. One for "localhost" (for local development) and one "DEV" for our development environment, which is hosted in the cloud.
The logout url for the "localhost" version of the FusionAuth application is something like: https://localhost:4455/api/FusionAuth/logout
And the DEV one is the same but hosted in the cloud, https://exampledomain.com/api/FusionAuth/logout
When users click "Logout" in my app, there are taken to: ourserver.fusionauth.io/oauth2/logout?client_id=the_client_id
When logging out when locally running the app, the client ends up redirected to the DEV logout url (in the cloud) and when logging out from the DEV instance of our application, the client ends up redirected on "localhost".
It's the inverse of what I expect. I'm sure I use the correct client_id/secret in both instances so I'm a little confused.
Any ideas ?