-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depreciation of BitbucketCloud teams and users endpoints #1811
Comments
Maybe @nabokihms could take a look at this? |
@sagikazarmark yeah, I will take a look. |
Awesome! Thanks! How does this affect your other PR (#1688)? |
In #1688 I use legacy API, but I will research if it is already possible to use other endpoints to get team groups. |
This issue looks urgent. I will open PR ASAP. |
Problem Summary
The
/2.0/users
and/2.0/teams
endpoints are being deprecated but not the/2.0/user
, so there is a probability that the current BitbucketCloud connector won't be working anymore from October 14th. Note that I don't know enough of the internal logic of the connector and dex, so maybe with only/2.0/user
, the login might still work, but not sure.https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/
Resolution
The api call
/2.0/user/emails
can be kept.The api call
/2.0/teams?role=member
shall be transitioned to/2.0/user/permissions/teams
.I do not know if the scope should be changed or kept as-is, to access the
/2.0/user/permissions/teams
endpoint , as there is no mention of any new workspace scope in the docs. So maybe it does not need to be changed.The text was updated successfully, but these errors were encountered: