Current behavior:
Logging in with GitHub opens the Oauth authorize page in Cypress's packaged Electron, which causes issues:
Desired behavior:
Logging in with GitHub through the desktop app opens a tab in the user's default system browser where they can authorize our app
Could be built by creating a HTTP server on localhost to accept auth redirects: https://stackoverflow.com/questions/37546656/handling-oauth2-redirect-from-electron-or-other-desktop-platforms
Or by creating a custom protocol handler and setting the GH redirect URL to that: https://glebbahmutov.com/blog/electron-app-with-custom-protocol/ Won't work, registering a custom protocol globally usually requires advanced permissions.
Current behavior:
Logging in with GitHub opens the Oauth authorize page in Cypress's packaged Electron, which causes issues:
Desired behavior:
Logging in with GitHub through the desktop app opens a tab in the user's default system browser where they can authorize our app
Could be built by creating a HTTP server on localhost to accept auth redirects: https://stackoverflow.com/questions/37546656/handling-oauth2-redirect-from-electron-or-other-desktop-platforms
Or by creating a custom protocol handler and setting the GH redirect URL to that: https://glebbahmutov.com/blog/electron-app-with-custom-protocol/Won't work, registering a custom protocol globally usually requires advanced permissions.