Skip to content

Commit

Permalink
Updating bitbucketcloud.md file (#11)
Browse files Browse the repository at this point in the history
* Updating bitbucketcloud.md file as per changes in PR dexidp/dex#1688

Signed-off-by: Nate Waddington <[email protected]>

* updating bitbucketcloud.md copy as per changes introduced in dexidp/dex#1812

Signed-off-by: Nate Waddington <[email protected]>

* correcting content update as per dexidp/dex#1812

Signed-off-by: Nate Waddington <[email protected]>
  • Loading branch information
kerberos727 committed Oct 6, 2020
1 parent f07736c commit b208599
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/docs/connectors/bitbucketcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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 the `Read Account` and `Read Team membership` permissions. The latter is required only if group membership is a desired claim.
The application requires the user to grant only the `Read Account` permission.

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

Expand All @@ -39,4 +39,8 @@ connectors:
# If `teams` is provided, this acts as a whitelist - only the user's Bitbucket teams that are in the configured `teams` below will go into the groups claim. Conversely, if the user is not in any of the configured `teams`, the user will not be authenticated.
teams:
- my-team
# Optional parameter to include team groups.
# If enabled, the groups claim of dex id_token will looks like this:
# ["my_team", "my_team/administrators", "my_team/members"]
includeTeamGroups: true
```

0 comments on commit b208599

Please sign in to comment.