Action Error is Not Displayed in the Universal Login Page

Overview

Admins implement an Action using the api.access.deny(reason) method and the error message is not shown on the Universal Login page but is passed on the Redirect URL instead. 

 

Cause

Actions and Rules Custom Error Messages are expected to be passed on the Callback URL.

When using a method or function that returns an error message, Auth0 will send the error description to the application that initiated the request as part of the query string parameters present on the Callback URL. If the Application is not configured to receive and display the error descriptions, the user will be redirected to the Callback URL, but no error message will be shown.

NOTE: The Application must be prepared to receive these values and display them accordingly.

Solution

Configure the application to parse errors returned to the callback and display them to users.

Recommended content

No recommended content found...