Hello, we are having some troubles to configure our nginx proxy manager to correctly redirect and get okta hosted login workiing.
We are using dot net okta sdk sample samples-aspnetcore/samples-aspnetcore-3x/okta-hosted-login/okta-aspnetcore-mvc-example at master · okta/samples-aspnetcore · GitHub
Apparently we are getting the challange part ok, but after that the auth/callback redirection fails with a Bad Gateway message. We are pretty sure it is some cookies handle misconfiguration between nginx proxy manager and the IIS.
We have the application hosted in a IIS using http, and the reverse proxy handling everything as https, not sure if that could give us some trouble too.
It works great in localhost, and works ok in the server without the reverse proxy, so we thing it has something to do with the reverse proxy and our Program.cs configuration, but we are not getting the right combination to get it up and running.
Any hel would be greatly apreciatted