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

ChromeOS - Cannot Authenticate #1014

Open
Malix-Labs opened this issue Feb 24, 2024 · 4 comments
Open

ChromeOS - Cannot Authenticate #1014

Malix-Labs opened this issue Feb 24, 2024 · 4 comments
Labels
dbus Bug reports related to dbus setup

Comments

@Malix-Labs
Copy link

Malix-Labs commented Feb 24, 2024

The problem

Cannot authenticate on ChromeOS (flatpak github desktop version)

Release version

Version 3.3.6-linux3 (x64)

Operating system

Steps to reproduce the behavior

  1. Download and Install ChromeOS (can be portable)
  2. Enable "Linux development environment"
  3. Install flatpak on Crostini
  4. Install GitHub Desktop (Flatpak)
  5. Try to authenticate

Log files

2024-02-24T18:49:46.557Z - info: [ui] [AppStore] loading 0 repositories from store
2024-02-24T18:49:47.156Z - info: [ui] launching: 3.3.6-linux3 (Linux 6.6.13-00891-g1af58030b5c8)
2024-02-24T18:49:47.181Z - info: [ui] execPath: '/app/github-desktop/github-desktop'
2024-02-24T18:49:47.567Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:49:48.113Z - info: [ui] Opt in reported.
2024-02-24T18:49:48.298Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:49:50.862Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2024-02-24T18:49:50.883Z - info: [ui] [SignInStore] initializing OAuth flow
2024-02-24T18:49:50.941Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=c4d888aa-a9b1-4e14-8c69-502a4233df43
2024-02-24T18:49:50.963Z - info: [ui] [Welcome] current sign in state not found. ignoring...
2024-02-24T18:49:51.687Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2024-02-24T18:50:09.843Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2024-02-24T18:50:10.959Z - info: [main] Received possible protocol arguments: 3
2024-02-24T18:50:10.966Z - info: [main] Processing protocol url
2024-02-24T18:50:10.980Z - info: [ui] [Dispatcher] requesting authenticated user
2024-02-24T18:50:10.991Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2024-02-24T18:50:11.545Z - info: [main] Received possible protocol arguments: 2
2024-02-24T18:50:12.608Z - info: [ui] [SignInStore] account resolved
2024-02-24T18:50:12.699Z - info: [ui] [AppStore] adding account Malix-off (Malix) to store
2024-02-24T18:50:12.699Z - info: [ui] [Welcome] advancing to step: ConfigureGit
2024-02-24T18:50:13.149Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:13.185Z - error: [ui] Error adding account 'Malix-off'
Error: user interaction failed
2024-02-24T18:50:13.363Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:17.662Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:18.532Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:22.504Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:22.743Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:25.455Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:50:30.340Z - info: [ui] [Welcome] no sign in step found. ignoring...
2024-02-24T18:51:05.843Z - info: [ui] [SignInStore] initializing OAuth flow
2024-02-24T18:51:05.902Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=72c95603-f28b-4807-94c9-645deb3331b0
2024-02-24T18:51:07.982Z - info: [main] Received possible protocol arguments: 3
2024-02-24T18:51:07.982Z - info: [main] Processing protocol url
2024-02-24T18:51:07.989Z - info: [ui] [Dispatcher] requesting authenticated user
2024-02-24T18:51:08.995Z - info: [ui] [SignInStore] account resolved
2024-02-24T18:51:09.000Z - info: [ui] [AppStore] adding account Malix-off (Malix) to store
2024-02-24T18:51:09.069Z - error: [ui] Error adding account 'Malix-off'
Error: user interaction failed
2024-02-24T18:52:50.905Z - info: [ui] [AppStore] loading 0 repositories from store
2024-02-24T18:52:51.065Z - info: [ui] launching: 3.3.6-linux3 (Linux 6.6.13-00891-g1af58030b5c8)
2024-02-24T18:52:51.081Z - info: [ui] execPath: '/app/github-desktop/github-desktop'
2024-02-24T18:52:51.767Z - info: [ui] Stats reported.
2024-02-24T18:53:30.088Z - info: [ui] [AppStore] loading 0 repositories from store
2024-02-24T18:53:30.289Z - info: [ui] launching: 3.3.6-linux3 (Linux 6.6.13-00891-g1af58030b5c8)
2024-02-24T18:53:30.313Z - info: [ui] execPath: '/app/github-desktop/github-desktop'
2024-02-24T18:55:46.561Z - info: [ui] [SignInStore] initializing OAuth flow
2024-02-24T18:55:46.634Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=45fa0878-e01c-423e-8643-707a345d8e9b
2024-02-24T18:55:48.977Z - info: [main] Received possible protocol arguments: 3
2024-02-24T18:55:48.991Z - info: [main] Processing protocol url
2024-02-24T18:55:48.991Z - info: [ui] [Dispatcher] requesting authenticated user
2024-02-24T18:55:50.230Z - info: [ui] [SignInStore] account resolved
2024-02-24T18:55:50.237Z - info: [ui] [AppStore] adding account Malix-off (Malix) to store
2024-02-24T18:55:50.333Z - error: [ui] Error adding account 'Malix-off'
Error: user interaction failed

Screenshots

image

@shiftkey
Copy link
Owner

Error: user interaction failed

This is a generic error from the keychain, as we need somewhere to store the token received from the browser sign-in flow. Unless you have a libsecret-compatible package installed like gnome-keyring this will not work.

@shiftkey shiftkey added the dbus Bug reports related to dbus setup label Feb 25, 2024
@Malix-Labs
Copy link
Author

Ohkay, understandable.
I'm not using a libsecret-compatible keyring lib but will test with the gnome one later.

It would be very nice to feat a customized message for that error!

@wiiznokes
Copy link

Could the keyring stuff be an option? I personally don't want to use it

@Malix-Labs
Copy link
Author

How would you register your secret, then ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dbus Bug reports related to dbus setup
Projects
None yet
Development

No branches or pull requests

3 participants