Answered

Oauth cancel button redirects back to last page, can a redirect url be set to handle it?

  • 25 September 2023
  • 2 replies
  • 80 views

How to handle Cancel button redirection as it is automatically redirecting back to the last page?

 

icon

Best answer by Eden 27 September 2023, 23:19

View original

2 replies

Userlevel 3
Badge

Hi @prabh_aircall 👋 Eden from the support engineer team here.

 

It is expected behavior that clicking that “Cancel” button will automatically redirect you back to the last page you were on with the App’s details. Can you give us more context around why you wanted to add your own redirect URL for that button? You will not be able to install apps that require authorization without clicking “Authorize access”! 

Hello, 
I wanted to add to this discussion that in our case, the cancel button doesn’t do anything. 
The ideal behavior for us would be that the tab closes when the user clicks “cancel”, because the OAuth consent page opens in a new tab.
How can we accomplish this?
Is there a way to control cancel button behavior?
 

 

Reply