How to set URL when user did not authorize the request

When I press X button at this situation below.
I jump to “https://app.auth0.com/decision
and error massage is shown.
I want to jump to my apprication even if authorization was canceled.
Would you tell me how to set it?
image

Hi @punisuke
When the user denies the consent, Auth0 will send an error message to the redirect URL that was used in the authorize request. Except that instead of having a token/id_token/code response (depending on the flow), you will get an error and error_description values. E.g (for implicit flow):

https://myapp.com/callback#error=access_denied&error_description=User%20did%20not%20authorize%20the%20request

In your callback processing you will have to check for an error response.