-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Extend the Bitbucket Provider to support Bitbucket Server instances #140
Comments
@mminns I opened a PR with your changes here: #141. From my point of view, the changes are good to go. @mjcheetham what do you think? |
Wow, thanks. there was me thinking it probably needed some tests :) I'll follow up the PR comments. 👍 |
Can this ticket be closed now? |
Yes, but the changes that fix this issue have not been released yet. Might be worth doing that. |
Maybe a bit off-topic, but Bitbucket Server Datacenter supports SAML authentication against an external IDP. |
Hey @agusmba! Although we cannot commit to implementing this, would you mind creating an issue (feature request) for supporting SAML with Bitbucket Server Datacenter? We'd also be happy to review and PRs implementing this 😁 Thanks! |
#151 created for tracking that. Thanks! |
Feature description
The GitHub Provider supports cloud github.com URLs but can also be configured to support GitHub Enterprise instances with their random URLs via the GCM_PROVIDER/credential.provider configurations.
e.g.
git config --global credential.ghe.contoso.com.authority github
Although it isn't documented it is already possible to do the following for Bitbucket Server URLs:
git config --global credential.bbs.contoso.com.authority bitbucket
This does actually work-ish.
The URL is correctly identified and the Bitbucket Provider is used but unfortunately everything then falls apart because:
Additionally, but not blocking
So to support Bitbucket Server in the simplest way the existing Bitbucket Provider would need to be extended to support the following:
By storing credentials under git:https://bbs.contoso.com it has the potential for a user of multiple accounts to keep overwriting the credentials but I think that can be safely ignored as
I have a proof of concept here: master...itofinity:issue/support-bbs-basicauth
The text was updated successfully, but these errors were encountered: