Payload Validation Error while Configuring Login URI

Last Updated Aug 28, 2024

Overview

While configuring the Default Login Routes, the below error is displayed:

Error! Payload validation error: ‘Object didn’t pass validation for format absolute-https-uri-or-empty: https://localhost:7290/callback’ on property initiate_login_uri (Initiate login uri, must be https)

An error similar to below is displayed on the Auth0 Dashboard.

image

Cause

As mentioned while configuring the default login route, localhost is not acceptable in the Application URIs/Tenant Login URI:

Solution

The Application Login URI/Tenant Login URI:

  • Requires https protocol
  • Cannot point to localhost
  • Should point to a route in the application that ends up redirecting to Auth0’s /authorize endpoint

For more information, refer to Configure Default Login Routes.