Skip to content

Commit

Permalink
Merge pull request #73 from flant/bitbucket-cloud-update-permissions-doc
Browse files Browse the repository at this point in the history
Update BitbucketCloud OAuth2 consumer required permissions
  • Loading branch information
sagikazarmark authored Dec 22, 2020
2 parents d4f5409 + 58c139c commit 64a6a6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/docs/connectors/bitbucketcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ When a client redeems a refresh token through dex, dex will re-query Bitbucket t

Register a new OAuth consumer with [Bitbucket](https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html) ensuring the callback URL is `(dex issuer)/callback`. For example if dex is listening at the non-root path `https://auth.example.com/dex` the callback would be `https://auth.example.com/dex/callback`.

The application requires the user to grant only the `Read Account` permission.
There are several permissions required for an OAuth consumer to use it with Dex:
* `Account: Read` - required for extracting base information (email, username)
* `Workspace membership: Read` - only necessary to get user's teams

The following is an example of a configuration for `examples/config-dev.yaml`:

Expand Down

0 comments on commit 64a6a6e

Please sign in to comment.