Auth0 Application Creation Fails With Bad Request Error When Using Client ID Metadata URL
Last Updated:
Overview
When using the Client ID Metadata URL to create an application, the process fails if the JSON link contains more than 100 allowed callback URLs. To resolve this issue, reduce the number of allowed callback URLs in the JSON link to 100 or fewer. Auth0 generates the following non-descriptive error message when this failure occurs:
Error! Bad Request. Please contact support if the problem persists
Applies To
- Auth0
- Client ID Metadata Documents (CIMD)
- Application Creation
- Allowed Callback URLs
Cause
The JSON link contains more than 100 allowed callback URLs, which exceeds the maximum limit for Auth0 applications.
Solution
How is the bad request application creation error resolved?
Modify the JSON link to reduce the number of allowed callback URLs and reattempt the application creation.
- Open the JSON link used for the application creation.
- Review the allowed callback URLs and remove any unnecessary entries to ensure the total count is 100 or fewer.
- Save the changes to the JSON link.
- Reattempt the application creation process using CIMD.