Version 5.x has been out of support since December 13, 2022, and this corresponding section of the documentation is no longer maintained. We strongly recommend upgrading to a supported version.

Error

The error page is used to display to the end user than an error has ocurred during requests to the authorize endpoint.

Commonly errors are due to misconfiguration, and there’s not much an end user can do about that. But this allows the user to understand that something went wrong and that they are not in the middle of a successful workflow.

Error Context

Details of the error are provided to the error page via an errorId parameter.

The interaction service provides a GetErrorContextAsync API that will extract that information from the errorId. The returned ErrorMessage object contains these details.