<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
0D54z00008dkmVuCAIOkta Classic EngineIntegrationsAnswered2023-01-13T09:08:10.000Z2023-01-11T11:01:32.000Z2023-01-13T09:08:10.000Z

TeenaJ.68096 (Customer) asked a question.

After Okta Signin Page showing 404 error in asp.net core6 MVC

Hi ,

I have been asking this question in Okta Dev forum, not getting any support from users. My Issue is i tried to integrate Okta login with Asp.net core 6 MVC, it was working fine in my local host but when i deployed this into server after okta sigin the page shows 404 error. The url of the page skips the alias name which i am using for my application.

 

This is my sign in url

 

https://sgsnt810/OktaMVCSample/Account/SignIn

 

Once i login the page redirects to this link

https://sgsnt810/Home/

 

instead of this link

https://sgsnt810/OktaMVCSample/Home/

 

but when i manually access this link, it will display my profile details.

 

Appreciate any help as this is quite urgent.


  • Paul S. (Okta, Inc.)

    Hello @TeenaJ.68096 (Customer)​ Thank you for reacting out to our Community!

     

    Please see this similar question here, that has a solution for this matter:

    https://devforum.okta.com/t/dotnet-mvc-4-example-giving-404-on-callback/2954

     

    If this does not help we recommend to try again on the developer forum, as they have more expertise on this subject.

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    • TeenaJ.68096 (Customer)

      Hi Paul Stiniguta,

       

      Thanks for your replying. I checked this , its not clear where i need to change. Could you please explain me where i need to authorisation-code/callback?

This question is closed.
Loading
After Okta Signin Page showing 404 error in asp.net core6 MVC