unable to complete browser login flow
See original GitHub issueDescription
The latest beta
snap can launch the browser login flow, but it doesn’t seem to have the associated protocol handler registered to launch when the callback fires.
Version
- GitHub Desktop:
1.6.5-linux6
- Operating system: Ubuntu 18.04
Steps to Reproduce
snap install github-desktop --beta --classic
- launch the app
- “Sign in using your browser”
- Browser launches
- Complete flow, browser indicates it is returning you to the app
Expected Behavior
Welcome wizard proceeds to next step
Actual Behavior
Nothing
Additional Information
I gather something needs to be declared in the snap.yaml
file like this, based on the VSCode config:
url-handler:
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url
desktop: usr/share/applications/@@NAME@@-url-handler.desktop
environment:
DISABLE_WAYLAND: 1
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Can't login to Flow Management - Power Platform Community
I am trying to login to Flow Management and I get this error ... does not exist in tenant 'Microsoft' and cannot access...
Read more >Outlook Integration error when custom login flow is enabled
Workaround: If users are not able to log in to Outlook Integration, disable custom login flows for it to work. Pin the Outlook...
Read more >invalid_client at the end of the login flow, how to debug? #2932
works but I'm unable to go further the end of the login flow because when the browser redirects to the url defined by...
Read more >Manually Build a Login Flow - Facebook Login - Documentation
For browser-based login for a web or desktop app without using our SDKs, ... check which of the requested permissions it cannot use...
Read more >Login Flow - Auth0
Add user roles to ID and Access tokens · A custom claim cannot include certain terms, and we strongly recommend using namespaced claim...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem using GitHub Desktop 2.0.4-linux1 / Ubuntu 18.04 LTS
After validating the user, when callback, i get a 404 error instead of finishing the process in the application. I’m not able to sign in with the enterprise account.
Tested with firefox and Chrome.
2020-04-01T21:06:20.148Z - info: [ui] proxy url not resolved, protocol not supported 2020-04-01T21:06:23.141Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.938s) 2020-04-01T21:32:47.123Z - info: [ui] [SignInStore] initializing OAuth flow 2020-04-01T21:32:47.138Z - info: [main] opening in browser: https://github.xxxxxx.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo user&state=4a63ab04-f31d-494c-bbdc-2e2200e1a7ac
Yeah, I think this might be a limitation beyond our control. I’ve moved this out to #138 to track as a separate issue (this one is related to the Snap package).