I’m building an app that uses Okta login with OpenId and uses the ASP Core 3.1 SDK to set up everything.
I have used the following resources to create the app and upload it to Azure WebApp:
https://developer.okta.com/blog/2020/12/09/dotnet-cloud-host-publish
https://developer.okta.com/docs/guides/sign-into-web-app/aspnetcore3/before-you-begin/
https://github.com/okta/samples-aspnetcore/tree/master/samples-aspnetcore-3x/okta-hosted-login
When I run the app on localhost everything works fine but when I upload it to Azure after I sign in with the hosted sign-in form I’m getting a 404 page on the callback route (/authorization-code/callback).
Have anyone encountered this issue before and knows what am I missing or if this is a known issue?