Skip to content

Unable to login with GitHub #2013

Open
Open
@stackptr

Description

@stackptr

🔍 Is there already an issue for your problem?

  • I have checked older issues, open and closed

📝 Description

When logging with GitHub, I authenticate as usual but Gitify does not do anything with the callback URL and remains logged out.

🪜 Steps To Reproduce

  1. Install via nixpkgs/nixos-unstable.
  2. Open and login using green "GitHub" button.
  3. Authenticate in GitHub.
  4. Confirm prompt to open Gitify, or otherwise use the callback link on the page. It is in the form: gitify-dev://auth?code=...
  5. Gitify remains logged out.

🪵 Log Excerpts

I see various instances of:

[2025-05-16 15:57:51.000] [info]  [main:open-url] URL received gitify-dev://auth?code=...

I also see a few instances of:

[2025-05-16 15:48:26.922] [info]  [main:handleUrl] forwarding URL gitify://auth?code=... to renderer process
[2025-05-16 15:48:26.936] [info]  [renderer:auth-callback] received authentication callback URL gitify://auth?code=...
[2025-05-16 15:48:27.599] [error] [loginWithGitHubApp] failed to login with GitHub TypeError: Cannot read properties of undefined (reading 'login')
    at g (file:///nix/store/6lmc1f7xp9qbblrnljgb94hiqsc05mjd-gitify-6.3.0/Applications/Gitify.app/Contents/Resources/app.asar/build/renderer.js:61:504241)
    at async t.addAccount (file:///nix/store/6lmc1f7xp9qbblrnljgb94hiqsc05mjd-gitify-6.3.0/Applications/Gitify.app/Contents/Resources/app.asar/build/renderer.js:61:501615)
    at async file:///nix/store/6lmc1f7xp9qbblrnljgb94hiqsc05mjd-gitify-6.3.0/Applications/Gitify.app/Contents/Resources/app.asar/build/renderer.js:2:291871
    at async file:///nix/store/6lmc1f7xp9qbblrnljgb94hiqsc05mjd-gitify-6.3.0/Applications/Gitify.app/Contents/Resources/app.asar/build/renderer.js:2:46655

These latter instances are when I tried using the callback URL given from the GitHub auth flow, but changing the gitify-dev:// to gitify://.

Gitify Version

6.3.0

Operating System

macOS

GitHub Account

GitHub Cloud

📸 Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions