AuthenticationFailureException: The oauth state was missing or invalid.

Veluri, Sateesh 0 Reputation points
2024-09-16T10:21:09.3933333+00:00

I'm getting the below error while accessing the web URL.

An unhandled exception occurred while processing the request.

AuthenticationFailureException: The oauth state was missing or invalid.

Unknown location

AuthenticationFailureException: An error was encountered while handling the remote login.

Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync()

  • Stack
  • Query
  • Cookies
  • Headers
  • Routing
  • AuthenticationFailureException: The oauth state was missing or invalid.
  • Show raw exception details
Microsoft.AspNetCore.Authentication.AuthenticationFailureException: The oauth state was missing or invalid.
  • AuthenticationFailureException: An error was encountered while handling the remote login.
    • Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync()
      • Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
        • Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
          • Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
  • Show raw exception details
      Microsoft.AspNetCore.Authentication.AuthenticationFailureException: An error was encountered while handling the remote login.
    

---> Microsoft.AspNetCore.Authentication.AuthenticationFailureException: The oauth state was missing or invalid. --- End of inner exception stack trace --- at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync() at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

  
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,563 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.