Disable the Consent Screen for Profile when Logging into Auth0 Applications
- Consent Screen for Profile
- Auth0 Applications
Follow the steps or video below:
The solution will depend on whether the audience is a Custom API or the Management API.
Audience is a Custom API
If the audience matches any Custom API from the tenant, the "Allow Skipping User Consent" option for that API can be enabled.
- From the left-hand menu within the Dashboard, navigate to Applications > API > {name-of-api}.
- Scroll down towards the bottom of the page until the "Allow Skipping User Consent" appears.
- Toggle this option to the green ( "on" ) position.
Audience is the Management API
If the audience is the Management API, it is possible to determine whether an application is registered with Auth0 as a first-party or third-party application by making a call to the Get-a-Client endpoint.
curl --request GET \
--url 'https://{yourDomain}/api/v2/clients/%7ByourClientId%7D?fields=is_first_party&include_fields=true' \
--header 'authorization: Bearer {yourMgmtApiAccessToken}'
- Get an access token for use with the Management API.
- Call the Get-a-Client endpoint shown above, providing details of the Domain, Client_ID, and the Management API Access Token.
- If the application is first-party, the
is_first_partyfield will have a value oftrue. - If the application is third-party, the
is_first_partyfield will have a value offalse.
In a similar fashion, the is_first_party field can be updated by making a call to the Update-a-Client endpoint.
Related References
- OAuth 2.0 Authorization Framework
- Skip Consent for First Party Applications
- First-Party and Third-Party Applications
- View Application Ownership