redirect_uri
specified in the request with an access_denied
error:
localhost
is never a verifiable first-party (because any malicious application may run on localhost
for a user), Auth0 will always display the consent dialog for applications running on localhost
regardless of whether they are marked as first-party applications. During development, you can work around this by modifying your /etc/hosts
file to add an entry such as the following:
127.0.0.1 myapp.example
Similarly, you cannot skip consent (even for first-party applications) if localhost
is used in the application’s redirect_uri
parameter and is present in any of the application’s Allowed Callback URLs (found in Dashboard > Applications > Settings).
Since third-party applications are assumed to be untrusted, they are not able to skip consent dialogs.
/authorize
endpoint, including the prompt=consent
parameter will force users to provide consent, even if they have an existing user grant for the application and requested scopes.