Forums

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

OAuth via CLI

Giorgi Zautaszwili December 2, 2019

Is it possible with the Bitbucket authorization API to perform any type of OAuth authorization via command line?

1 answer

1 accepted

0 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2019

Hello @Giorgi Zautaszwili,

Welcome to the Community!

Yes, it's definitely possible with any HTTP client, including cURL. Here's an overview of OAuth flows that Bitbucket supports.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

Giorgi Zautaszwili December 2, 2019

Hi Daniil, thanks for the reply. I see, so the key part is to set redirect URL to the local server, right? Thanks for the hint!

 

Regards,

Giorgi

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2019

No worries, glad it helped.

I guess you mean 3LO flow? Yes, there should be something to accept the outcome of OAuth grant flow that user does in their browser.

Giorgi Zautaszwili December 2, 2019

That's correct, the 3LO flow

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events