git-credential-oauth
git-credential-oauth copied to clipboard
Lynx support: Open browser asynchronous with current tty as stdin/stdout
This patch enables the option to login using the minimalistic console browser Lynx, if xdg-open is running it as default browser. Useful on remote machines without X-forwarding or VNC.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Does not work in conjunction with git command. I just tested the code with
$> printf "host=host.name.org\nprotocol=https\n" | git-credential-oauth get
which works fine. But inside git it doesn't work.
The issue may be that git forks git-credential-oauth with os.Std{in,out} not equal to the current tty. I'm looking forward to update the pull-request. If I do not get success then I will close this pull-request unmerged.
Greets, Dirk.
Hey, me again =D
this pull-request seems to work and is Ready-To-Merge.
I have published a test-build at YouDirk/git-credential-oauth/releases/v0.16.0.2 which you can try out ...
It seems to work fine. Just install lynx and xdg-open and it should hopefully work.
Greets, Dirk =D