
KanL.71269 (Customer) asked a question.
Hi,
I used the sample provided from https://github.com/okta/samples-aspnetcore and tested with my settings, everything went well.
Then I commented the line //app.UseHttpsRedirection(); and disabled the debug option "Use SSL", changed the setting accordingly from "https//***" to "http://***", I got error from callback, and the error information is the following:
- Exception: An error was encountered while handling the remote login.
- Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync()
- Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
- Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Since one of our customers uses HTTP, I need to make this direction works. Please help!
Thanks,
Kan

Hi @KanL.71269 (Customer) , Thank you for reaching out to the Okta Community!
Seems to be something similar to https://devforum.okta.com/t/asp-net-core-correlation-failed-error-message/3563
My advice would be to reach out to the devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products.
Hope my answer helps!
--------------------------------
Community members help others by clicking Upvote or Select as Best on responses. Try it today.