Custom data in callback url for bitbucket oauth api v2 login

allmanaj February 5, 2019

I'm building a website which requires integration with bitbucket so i need to login and get a token. So far everything works find and it'm being redirected to the callback url I defined when I created my oAuth app. I was wondering if there's a way that I can customise that url on a per request basis? For example my default callback url is /oauth/bitbucket but I want to redirect to a different url depending on the section of the site I'm hooking up to bitbucket. Does that make sense? I would like to be able to do something in the request authorize url like &redirect_url=https://example.com/oauth/bitbucket/3

Is that currently possible or is there a way to get the system to work the way i want it to?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events