.NET Application Errors with Status 500 from POST/callback

Overview

This article clarifies why an error with status code 500 occurs after successful authentication when a response is sent to the application callback Uniform Resource Locator (URL).

 

The application throws an error with status code 500 when Auth0 sends the response to the application's callback URL.

Applies To

  • Net6 Web OpenID
  • AspNetCore
  • Callback URL

Cause

A required application cookie is missing in the form post request to the /callback URL.

Solution

To resolve this issue, follow these steps:

  1. Restart the server.
  2. Verify the server is fully powered off before starting it again.

Recommended content

No recommended content found...