I am trying to implement OAuth2. I have followed this guide:
https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/
It says that I can include the callback url per request, but I cannot seem to find what the parameter is called to allow me to do this. Can you please point me to some documentation that can clear up how to specify a different callback url, as I cannot find any
Hi @Ruan Robson ,
Did you manage to get this to work? I've set my callback url in the OAuth consumer to http://localhost:8080/callback but whenever I try to auth with
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andy,
My setup is as follows:
Button with url:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aaaah, thank you so much!
The `redirect_uri` parameter needs to be on both the request for the code and the request for the token! I thought the error was about it not matching the url stored against the consumer in the workspace settings.
Strange that the documentation is so sparse here. I'd read the same page that you'd originally linked to which said you should be able to append to the callback url path but gave no indication how.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have found this post which has the same question, unfortunately no answer
https://community.atlassian.com/t5/Bitbucket-questions/Custom-data-in-callback-url-for-bitbucket-oauth-api-v2-login/qaq-p/999717?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.