-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[bitbucket] includeTeamGroups only works for Workspace Admin users #1977
Comments
@ringods Hello! Thanks for the report. I will try to take the time to debug this problem. |
@nabokihms there probably is not a solution at this moment due to the shortcomings in the Bitbucket API migration process from V1 to V2. But from my communication with Atlassian, I suspect that no call will be introduced for regular users to find out in which |
Frankly, I think that you are right in your suspicions. With a lack of integration tests in dex, we can't consolidate connectors logic, and Bitbucket Cloud API is not the most stable API. There are probably some other bugs. The only thing I want to do is to see the problem with my own eyes. |
@ringods Hello again, you are right. The I realized that I had forgotten to ask you more about your use case, so... Let me tell you about mine first. Assume there is a team of developers. They want to authenticate in a Kubernetes cluster using BitbucketCloud, and they already have a My intention in adding this option was to help such teams and to provide the ability for them to control their groups. It looks like there is a solution to how we can fix this option with the current bitbucket API state. The main idea is to use Client Credentials grant. According to documentation, the oauth2 consumer access token WDYT about it? |
@nabokihms this indeed might work. On our end, we will not go forward with the Bitbucket Cloud connector anymore. We are using Concourse which integrates |
has this been taken any further? |
I am happy to test any development in this area :) |
@webwurst we would love to finally have this fixed. |
Expected behavior (what you expected to happen)
Any Bitbucket Cloud User is able to retrieve in which group he/she is in during the login process
Actual behavior (what actually happened)
Only Bitbucket Cloud Workspace Admins seem to have access to the API endpoint used to retrieve the groups.
Steps to reproduce
includeTeamGroups
activeEnvironment
Not related to Dex, as the problem lies on Bitbucket Cloud side.
Anything else we should know?
I escalated this to Atlassian and got confirmation that the endpoint used to retrieve the code:
Here is part of my communication with Atlassian:
The suggested alternative call only returns the workspaces someone is a member of, not the groups within the workspace, which means this is not a solution either.
The text was updated successfully, but these errors were encountered: