Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use OAuth2 in my application

gek0n December 3, 2016

I want to get some information about my repositories from "Bitbucket REST API". I can do the trick with publick repos, but to working with private repos i need to be authorized.

I read Bitbucket OAuth Docs and create my first OAuth consumer: it has SECRET and KEY.
But i does not understand what a callback URL i must specify (if i have no server in internet).
And how i can use REST API with this KEY and SECRET?

I does not understand how i can authorize with them.
I tried somesthing like 

https://bitbucket.org/site/oauth2/authorize?client_id={KEY}

but it's not right way. Nothing happened.

How i can authorize to use REST API? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2016

Honestly, it seems that you don't know what Oauth is. You'd probably should just authenticated with basic auth.

 

TAGS
AUG Leaders

Atlassian Community Events