Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom query params in redirect_uri for Bitbucket Server OAuth api v2 login

a_marchenkov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2023

I'm building a web service which requires integration with Bitbucket Server, so I need to login and get a token.

So far everything works find until I add custom query parameter to the callback URL I defined when I created my Application Link. After it I got an error ``The provided value for the input parameter 'redirect_uri' is not valid.``

Is there a way that I can customize 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 /oauth/bitbucket_login?sid={UUID}.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events