# How to set URL when user did not authorize the request

**URL:** <https://community.auth0.com/t/how-to-set-url-when-user-did-not-authorize-the-request/18305>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [November 25, 2018, 11:58am UTC](https://community.auth0.com/t/how-to-set-url-when-user-did-not-authorize-the-request/18305 "2018-11-25T11:58:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![punisuke](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@punisuke](https://community.auth0.com/u/punisuke)\
**Post date:** [November 25, 2018, 11:58am UTC](https://community.auth0.com/t/how-to-set-url-when-user-did-not-authorize-the-request/18305/1 "2018-11-25T11:58:36Z")

</div>

When I press X button at this situation below.  
I jump to “[https://app.auth0.com/decision](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](https://global.discourse-cdn.com/auth0/original/2X/b/b7378ca9b408541e34963ade7f77a833c346b5aa.png)

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [November 25, 2018, 5:41pm UTC](https://community.auth0.com/t/how-to-set-url-when-user-did-not-authorize-the-request/18305/2 "2018-11-25T17:41:50Z")

</div>

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):

```auto
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.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 28, 2019, 12:09pm UTC](https://community.auth0.com/t/how-to-set-url-when-user-did-not-authorize-the-request/18305/3 "2019-08-28T12:09:33Z")

</div>


