I'm building a Symfony Console script (PHP).
Is it possible to authorize BitBucket API (oAuth) from a command-line, console-based app (i.e., without browser)?
Or put another way -- does BitBucket allow 2-legged oAuth 2.0?
I'm building a Symfony Console script (PHP).
Is it possible to authorize BitBucket API (oAuth) from a command-line, console-based app (i.e., without browser)?
Or put another way -- does BitBucket allow 2-legged oAuth 2.0?
I ended up using a combination of this oAuth library to get the access token and guzzle to form the requests. Super simple. I am using the header method Authorization: Bearer {access_token}
as documented here.