Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Blank authentication page on linux #83

Open
albertoVieiraNeto opened this issue May 22, 2018 · 6 comments
Open

Blank authentication page on linux #83

albertoVieiraNeto opened this issue May 22, 2018 · 6 comments

Comments

@albertoVieiraNeto
Copy link

albertoVieiraNeto commented May 22, 2018

Hi after following the instalation instructions without package manager on this repository 2 machines show a white/blank page instead of the expected login screen.

notice: i dont have any sort of internet restrictions.

Debug Log

Configuration::loadGitConfiguration
Configuration::ParseGitConfig
Configuration::ParseGitConfig
core.bare = false
core.filemode = true
core.logallrefupdates = true
core.repositoryformatversion = 0
credential.helper = !java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/doohan/git-credential-manager/git-credential-manager-2.0.3.jar
remote.origin.fetch = +refs/heads/:refs/remotes/origin/
remote.origin.url = https://XXXX.visualstudio.com/Ecommerce/_git/magento-module-DefaultTheme
user.email = XXXX@XXXX
user.name =XXXX@XXXX
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Program::EnableTraceLogging
Program::get
targetUri = https://XXX.visualstudio.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library loaded, creating a password SCHEMA
Try access gnome-keyring with dummy data to make sure it's accessible...
Getting a persistent token store that must be secure
Getting a persistent credential store that must be secure
Program::createAuthentication
detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
detected visualstudio.com, checking AAD vs MSA
server has responded
AAD authority for tenant '' detected
authority is Azure Directory
BaseVsoAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXXX.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXXX.visualstudio.com
BaseSecureStore::readCredentials
Getting Credential for git:https://XXXX.visualstudio.com
Could not retrieve secret from storage.
Return code: 9 description: No matching results
BaseVsoAuthentication::refreshCredentials
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = ada:https://XXXX.visualstudio.com
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToNameConfiguration::loadGitConfiguration
Configuration::ParseGitConfig
Configuration::ParseGitConfig
core.bare = false
core.filemode = true
core.logallrefupdates = true
core.repositoryformatversion = 0
credential.helper = !java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/doohan/git-credential-manager/git-credential-manager-2.0.3.jar
remote.origin.fetch = +refs/heads/:refs/remotes/origin/
remote.origin.url = https://XXXX.visualstudio.com/Ecommerce/_git/magento-module-DefaultTheme
user.email = XXXXX@XXXXX
user.name = XXXX@XXXXXX
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Program::EnableTraceLogging
Program::get
targetUri = https://XXXX.visualstudio.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library loaded, creating a password SCHEMA
Try access gnome-keyring with dummy data to make sure it's accessible...
Getting a persistent token store that must be secure
Getting a persistent credential store that must be secure
Program::createAuthentication
detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
detected visualstudio.com, checking AAD vs MSA
server has responded
AAD authority for tenant '' detected
authority is Azure Directory
BaseVsoAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://XXXX.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://XXXX.visualstudio.com
BaseSecureStore::readCredentials
Getting Credential for git:https://XXXX.visualstudio.com
Could not retrieve secret from storage.
Return code: 9 description: No matching results
BaseVsoAuthentication::refreshCredentials
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = ada:https://XXXX.visualstudio.com
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = registry:https://XXXX.visualstudio.com
failed to refresh credentials.
VsoAadAuthentication::interactiveLogon
AzureAuthority::acquireToken
Authorization code could not be obtained: com.microsoft.alm.oauth2.useragent.AuthorizationException: Code: cancelled Description: The browser window was closed by the user.
token acquisition failed.
interactive logon failed
VsoAadAuthentication::deviceLogon
AzureAuthority::acquireToken
OAuth 2.0 Device Flow authentication
To complete the authentication process, please open a web browser and visit the following URI:
https://microsoft.com/devicelogin
When prompted, enter the following code:
FAGWUE5NF
Once authenticated and authorized, execution will continue.
target name = registry:https://XXXX.visualstudio.com
failed to refresh credentials.
VsoAadAuthentication::interactiveLogon
AzureAuthority::acquireToken
Authorization code could not be obtained: com.microsoft.alm.oauth2.useragent.AuthorizationException: Code: cancelled Description: The browser window was closed by the user.
token acquisition failed.
interactive logon failed
VsoAadAuthentication::deviceLogon
AzureAuthority::acquireToken
OAuth 2.0 Device Flow authentication
To complete the authentication process, please open a web browser and visit the following URI:
https://microsoft.com/devicelogin
When prompted, enter the following code:
FAGWUE5NF
Once authenticated and authorized, execution will continue.

image
image

@novak
Copy link
Contributor

novak commented Sep 17, 2018

Are you able to reproduce this issue still?

@novak novak closed this as completed Oct 31, 2018
@novak
Copy link
Contributor

novak commented Oct 31, 2018

It is possible this isn't a result of the git-credential-manager but the web application powering authentication. If you continue to run into this issue let me know. I can work to get the issue in front of the right team.

@Crashdummyy
Copy link

Hey there :)
I want to use it on Ubuntu 18.10 as well, yet I cant authenticate :(

That's the only output I get ( well and that blank page for the OAuth2.0 )

Configuration::loadGitConfiguration
Configuration::ParseGitConfig
Configuration::ParseGitConfig
branch.master.merge = refs/heads/master
branch.master.remote = origin
branch.story/MoreBeautifulUi.merge = refs/heads/story/MoreBeautifulUi
branch.story/MoreBeautifulUi.remote = origin
core.autocrlf = false
core.bare = false
core.filemode = true
core.logallrefupdates = true
core.repositoryformatversion = 0
credential.canFallBackToInsecureStore = true
credential.helper = !/usr/lib/jvm/java-8-oracle/jre/bin/java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/crashdummy/Documents/git-credential-manager-2.0.4.jar
remote.origin.fetch = +refs/heads/*:refs/remotes/origin/*
remote.origin.url = https://crashdummy.visualstudio.com/GameCompanion/_git/GameBuddy
user.email =
user.name =
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
canFallBackToInsecureStore = true
Program::EnableTraceLogging
Program::get
targetUri = https://crashdummy.visualstudio.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library not loadedjava.lang.UnsatisfiedLinkError: Unable to load library 'gnome-keyring': Native library (linux-x86-64/libgnome-keyring.so) not found in resource path ([file:/home/crashdummy/Documents/git-credential-manager-2.0.4.jar])
gnome-keyring library not loadedjava.lang.NoClassDefFoundError: Could not initialize class com.microsoft.alm.storage.posix.internal.GnomeKeyringLibrary
gnome-keyring library not loaded, return null for SCHEMA
Getting a persistent token store that could be secure
Getting a persistent credential store that could be secure
Program::createAuthentication
detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
detected visualstudio.com, checking AAD vs MSA
server has responded
MSA authority detected
authority is Microsoft Live
BaseVsoAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://crashdummy.visualstudio.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://crashdummy.visualstudio.com
BaseSecureStore::readCredentials
BaseVsoAuthentication::refreshCredentials
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = ada:https://crashdummy.visualstudio.com
SecretCache::readToken
SecretCache::_getTargetName
Secret::uriToName
target name = registry:https://crashdummy.visualstudio.com
failed to refresh credentials.
VsoMsaAuthentication::InteractiveLogon
AzureAuthority::acquireToken

I just migrated from Elementary OS Juno ( 18.04 ubuntu ) to Ubuntu 18.10.
Before everything worked just fine ( same gitconfig )

@novak
Copy link
Contributor

novak commented Mar 7, 2019

@Crashdummyy it looks like it is having trouble finding the gnome-keyring library. Can you confirm you have that installed?

@Crashdummyy
Copy link

@novak
I have the Keyring installed ( even reinstalled it ).
I head someone mentioning that this is a Problem with libcurl3-gnutls which has been fixed a while ago but is not on 18.10 at the moment.

@novak
Copy link
Contributor

novak commented Mar 12, 2019

Thanks for confirming, I can take a closer look at this. I have a machine reproducing this issue as well.

@novak novak reopened this Mar 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants