Skip to main content
Question

Authorization Callback Domain stuck in "Application settings"

  • Feb 24, 2026 1:30 PM UTC
  • 19 replies
  • 239 views

Forum|alt.badge.img+2

Hi all,

After testing in dev env, I tried to change the domain for production, but it seems stuck with the previous (dev domain), even after 24h (3 days to be honest).

The field contains “proddomain.com” and I’m still able to use “devdomain.com” and cannot use the prodomain, get a forbidden.

Any hints on how to change this ?

19 replies

Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Feb 24, 2026 3:50 PM UTC

Can you give us more information what you are trying to do and what “Application settings” you mean?


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 24, 2026 4:26 PM UTC

Hi Jan ! Sure ! 

I did developed the app in test environment, then moved to prod.
For this, I’ve changed the Authorization Callback Domain, in the screen below, to the prod domain, but keep getting a bad request, redirect_uri invalid

essage "Bad Request"
errors  
0  
resource "Application"
field "redirect_uri"
code "invalid"



Right Now, it’s configured to the prod domain, which doesn’t work (the change was last sunday, 3 days ago). But, the dev env is still working, so internally it must be set to the old value.

How can I change that effectivelly ? or better, have 2 domains to faciilitate testing and deploying ?

Thanks

 


Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Feb 24, 2026 10:47 PM UTC

That means a user trying to authorize your app gets this error? The callback domain is part of the URL in the authorization dialog, you can check what is used there: 

 


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 25, 2026 2:17 AM UTC

Yes, I got this error when trying to authorize in the production env.

The weird thing is, the domain NOW at the config is the PRODUCTION, that doesn’t work. But works on dev domain, that is different from the configured !

 


Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Feb 25, 2026 10:35 AM UTC

I can’t remember what the mentioned config is good for, but the authorization URL is one you build yourself in your application and does not use this config. 


Forum|alt.badge.img+4
  • Hub Rookie
  • Feb 26, 2026 9:41 AM UTC

Have you verified the callback domain is the same as the redirect URI’s you’re using (check your request logs if there is such a thing)?
Also do you have any kind of redirect within your server that basically redirects your proddomain to devdomain, for whatever reason?

Some sort of authentication on your side perhaps you’re not setting properly (Just replied to another topic yesterday which turned out to be strava hit their redirect uri but that got rejected by their side due to authentication missing).


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 26, 2026 2:24 PM UTC

I can’t remember what the mentioned config is good for, but the authorization URL is one you build yourself in your application and does not use this config. 

Sure, but it has to match to this config.


One more info, I’m still ‘alone’, I mean, I still didn’t get approval from strava for this app.

 


Forum|alt.badge.img+4
  • Hub Rookie
  • Feb 26, 2026 3:03 PM UTC

One more info, I’m still ‘alone’, I mean, I still didn’t get approval from strava for this app.

Not sure there’s any approval at all. I created an app without review, I’ve changed the domain 7-8 times already between localhost and postman’s and all it took was to hit Save.


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 26, 2026 3:05 PM UTC

One more info, I’m still ‘alone’, I mean, I still didn’t get approval from strava for this app.

Not sure there’s any approval at all. I created an app without review, I’ve changed the domain 7-8 times already between localhost and postman’s and all it took was to hit Save.

Ouch ! Understood. I need to solve this :).
The mistery is right now the domain in strava is the prod one, and I’m testing dev domains… and prod domain is not authorized when I try...


Forum|alt.badge.img+4
  • Hub Rookie
  • Feb 26, 2026 3:08 PM UTC

If redirect_uri is on the same domain as the one in the application settings, then maybe the problem is on the redirect_uri itself, or the authentication on the prod domain.

You could remove authentication for a minute, check you are getting the request and if you do, then it’s an authentication issue, if you don’t, then the redirect_uri is wrong, or it’s being re-redirected somehow and the whole thing fails.


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 26, 2026 3:12 PM UTC

If redirect_uri is on the same domain as the one in the application settings, then maybe the problem is on the redirect_uri itself, or the authentication on the prod domain.

You could remove authentication for a minute, check you are getting the request and if you do, then it’s an authentication issue, if you don’t, then the redirect_uri is wrong, or it’s being re-redirected somehow and the whole thing fails.

How to remove it at strava side ?


Forum|alt.badge.img+4
  • Hub Rookie
  • Feb 26, 2026 3:16 PM UTC

Not talking about removing authentication on Strava’s side, but yours….your domain’s/server’s.


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 26, 2026 5:41 PM UTC

Ok, I’ll check as soon as I get to the prod env and get back here.
Thanks guys !


Forum|alt.badge.img+4
  • Hub Rookie
  • Feb 27, 2026 3:30 PM UTC

Another possiblity that I remembered is your server’s expected protocol. Check for typo in your redirect uri against what your server expects. Also internally sometimes, servers have config to upgrade http to https, which basically redirects to https. If yours hasn’t got it, it expects https and you hit http, then it will fail.

Also, as mentioned here, check whether your production has Cloudflare behind it...another layer of issues right there.


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 27, 2026 5:56 PM UTC

Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Feb 27, 2026 7:09 PM UTC

Thanks ​@npatch  !


Putting some new data.

Current strava setting:
 


URL where I’m trying to authenticate with the strava connect button

 


Result when trying to connect to strava (click on button):

URL: https://www.strava.com/oauth/authorize?client_id=204084&redirect_uri=https%3A%2F%2F6a9a77d0-62ee-49e8-88a8-360a277bc6f9-00-n2z1zq4hqzad.janeway.replit.dev%2Fapi%2Fstrava%2Fcallback&response_type=code&scope=read%2Cactivity%3Aread_all&approval_prompt=force

Result:


PS.: I tried to submmit before but got an error. Posting again.
 


Forum|alt.badge.img+4
  • Hub Rookie
  • Mar 2, 2026 9:26 AM UTC

Are you sure it’s properly deployed? I hit the url (just the website url, no params) and got a 503 and the site is showing a “The app is currently not running. Deploy this app to keep it running externally.” If I can’t hit the url, Strava can’t too.

Another thing , although I’m not sure about this, is url encoding might be creating issues. I did have some in Postman with it, especially for scopes.


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • Mar 3, 2026 2:20 PM UTC

Hi !

I unpublish the app due to this problemas AND i’ll not be able to work on it this week. Also, I’m still waiting strava aproval for it.

I’ll be back later, many thanks !


Forum|alt.badge.img+4
  • Hub Rookie
  • Mar 3, 2026 2:26 PM UTC

To my understanding, approval is only needed for rate limits being raised because you expect multiple users. That doesn’t mean you need approval to make sure the app works. Or, at the very least, I’ve gone through the docs and haven’t found anything else to contradict this point. For me, your problem right now seems to be publishing your app properly.