<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009nAUGxCAOOkta Classic EngineAuthenticationAnswered2024-07-08T09:36:19.000Z2023-11-09T11:56:17.000Z2023-11-10T21:26:26.000Z

4znur (4znur) asked a question.

Okta is sending app server address as signin redirect uri instead of the custom domain uri

I have a Blazor web application that I use Okta for. Let's say our app is accessible through a custom domain https://abc.com. It is deployed in a server which has the address https://xyz.somecloudserver.com. So , in Okta settings, in sign-in redirect uri we have added both

https://abc.com/authorization-code/callback

https://xyz.somecloudserver.com/authorization-code/callback

 

When I access the app through custom domain (https://abc.com) and click on login button, it takes me to the Okta login page. In the address bar I see that in query string the redirect_uri is set to https://xyz.somecloudserver.com/authorization-code/callback and not https://abc.com/authorization-code/callback. This means that once the user is authenticated they're taken to https://xyz.somecloudserver.com and not https://abc.com

 

When I am accessing the app through https://abc.com/ why is the redirect_uri being set to https://xyz.somecloudserver.com/authorization-code/callback?

 

 


This question is closed.
Loading
Okta is sending app server address as signin redirect uri instead of the custom domain uri