Skip to content
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

fix: do not fail if keychain access failed #197

Merged
merged 2 commits into from
Mar 26, 2021
Merged

Conversation

jfatta
Copy link
Contributor

@jfatta jfatta commented Mar 26, 2021

auth0 fails while trying to access the keychain from Windows WSL (Windows Subsystem for Linux).
Here are more details about the issue: https://askubuntu.com/questions/815327/running-gnome-keyring-on-wsl-windows-subsystem-for-linux.

The CLI works as expected with the rest of the Windows terminals (powershell, new windows terminal, etc)

The changes on this PR handle the keychain errors gracefully and continue with the logging flow. It will not store the refresh token on the keychain therefore the login will be triggered again once the access token expired.

before these changes
image

after
image

@Widcket Widcket requested a review from a team March 26, 2021 21:43
@jfatta jfatta merged commit 78c6eb3 into main Mar 26, 2021
@jfatta jfatta deleted the fix-keychain-optional branch March 26, 2021 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants