Comments (5)
Fantastic you've merged this.
I was playing with this myself. While it worked I've never had the time to polish it.
https://github.com/itofinity/Git-Credential-Manager-Core/tree/issue/37-Bitbucket-Support
I have a GUI component written in Avalonia that works cross platform as well
https://github.com/itofinity/Atlassian-Authentication-Helper
this is a screen shot from macOS
from git-credential-manager.
FWIW running this on Windows for Bitbucket the OAuth success page isn't being displayed.
from git-credential-manager.
Hi @mminns,
Fantastic you've merged this.
I was playing with this myself. While it worked I've never had the time to polish it.
https://github.com/itofinity/Git-Credential-Manager-Core/tree/issue/37-Bitbucket-Support
It's awesome to see interest in getting Bitbucket into GCM Core 😃
Looks like we've duplicated a lot of work here, which is a shame 😢
I have a GUI component written in Avalonia that works cross platform as well
https://github.com/itofinity/Atlassian-Authentication-Helper
This sounds like an interesting path forward for x-plat UI. I've never really used or explored much with Avalonia before. I assume Avalonia is pretty stable and somewhat compatible with existing WPF-flavoured XAML?
As you can see from #116 I'm in the process of getting a WPF/Windows only UI in for Bitbucket, based on the GCM for Windows version but with updated iconography and colours. I wonder if we can port that to Avalonia?
FWIW running this on Windows for Bitbucket the OAuth success page isn't being displayed.
Oh! I've never see "the connection was reset" before. Were you debugging when the OAuth redirect happened? I seem to remember some issues with timeouts if the browser connected to the localhost port but the 'server' didn't respond in a timely fashion.
Is this easily reproducible for you? Can you see any exceptions being thrown or caught in the GCM Core OAuth stack?
from git-credential-manager.
Morning, don't worry about the duplication. Part of the reason I did it was to force myself to learn more about x-platform development with DotNet Core and I did that. 👍
Apologies for not providing more context on the success page error, it was late-ish on Friday. I'll dig a bit deeper this week.
re: The Avalonia GUI.
I wonder if it makes sense for you to go ahead and compete the windows UI as planned at this time rather than looking to switch to Avalonia.
I could look at polishing my Avalonia implementation to mirror the revised theme/branding/layout you are using. The Avalonia implementation would then have some initial use as a drop in complimentary UI on macOS/Linux, independent of the official GCMC releases. Especially if I could come up with some kind of suitable installer. Then once it is a stable, proven component it could be reviewed as a possible replacement for the windows UI ?
from git-credential-manager.
[..] learn more about x-platform development with DotNet Core and I did that. 👍
😁
Apologies for not providing more context on the success page error, it was late-ish on Friday. I'll dig a bit deeper this week.
No worries! If you do find some issue it'd be great if you could raise an issue. The OAuth stack is shared between the GitHub and Bitbucket providers so anything to make it more robust is a big win for everyone.
I wonder if it makes sense for you to go ahead and compete the windows UI as planned at this time rather than looking to switch to Avalonia.
Sure thing!
[re: Avalonia GUI] Then once it is a stable, proven component it could be reviewed as a possible replacement for the windows UI ?
Absolutely. I'd be very much open to replacing any Windows-only UI with a suitable x-plat replacement. As you've seen GCM Core introduced the notion of out-out-proc "auth UI helpers". Glancing over your host provider implementation I see you've introduced an environment variable (GCM_GUI_HELPER_PATHS
) for a search path of external helpers; I like this idea. I've created an issue here to add upstream support for this #119 but there might be some issues to address.
from git-credential-manager.
Related Issues (20)
- Credential-Manager only works for github if the User name in Windows Credential is everything but the actual github user name HOT 1
- git push origin HEAD hangs without any error starting June 5 HOT 5
- The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. HOT 3
- dotnet7 is EOL when dotnet8 support is coming ? HOT 3
- (invalid)
- account filtering filters out my account, requiring re-authentication for every action HOT 1
- wsl: Unable to find git.exe HOT 2
- (invalid)
- Universal Gitea OAuth configuration uses wrong endpoints if gitea uses a subfolder HOT 1
- (invalid)
- GitCredentialManager.Tests.GitTests.Git_GetRemotes_NoRemotes_ReturnsEmpty test fails on Arch Linux
- Unable to Decrypt GPG File in VSCode on Ubuntu 24.04 Without First Using Terminal
- GCM "connect to github" window doesn't scale on Linux
- Git keep asking me password after changing system user's password
- Unable to authenticate in self-hosted Azure DevOps repo with different domain
- Interactive credential flow does not trigger on fetch
- Can GCM be installed on ARM64 VM with .NET SDK 8.0? HOT 1
- Suddenly git push to ADO worked today on the same GCM version (2.5.0+d34930736e131ad80e5690e5634ced1808aff3e2)
- Better documentation on git credential-manager store HOT 7
- Be great
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-credential-manager.