The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events