Bitbucket App Redirection URL for error

Hi,
We have developed a Bitbucket app and to integrate a Bitbucket account with our app we need an admin user. By any chance, if a non-admin user tries to integrate the account we are seeing redirection from bitbucket to our BASE URL from the “App Descriptor”.

Is there any way we can redirect back to any error page instead of redirecting to the base URL?

2 Likes