<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
0D54z00008YgBakCAFOkta Classic EngineIntegrationsAnswered2022-12-21T17:08:52.000Z2022-12-20T19:44:30.000Z2022-12-21T17:08:52.000Z

KanL.71269 (Customer) asked a question.

callback error with http in asp.net

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


This question is closed.
Loading
callback error with http in asp.net