Skip to content

Login with OAuth App does not open even if everything is entered #1452

@shiron-dev

Description

@shiron-dev

🔍 Is there already an issue for your problem?

  • I have checked older issues, open and closed

📝 Description

I entered the Hostname, Client ID, and Client Secret in the "Login with OAuth App", but I cannot click the login button and the login screen does not open.

After examining the source code, I found that authGitHub() is called successfully, but when I execute new BrowserWindow(), it does not return any result and does not execute any code below it.

export function authGitHub(
authOptions = Constants.DEFAULT_AUTH_OPTIONS,
): Promise<AuthResponse> {
return new Promise((resolve, reject) => {
// Build the OAuth consent page URL
const authWindow = new BrowserWindow({
width: 548,
height: 736,
show: true,
});

For example, if the code is modified and executed as follows, before new BrowserWindow() is output, but after new BrowserWindow() is not.

    console.log('before new BrowserWindow()');
    const authWindow = new BrowserWindow({
      width: 548,
      height: 736,
      show: true, }
    });
    console.log('after new BrowserWindow()');

🪜 Steps To Reproduce

  1. Reset App (In my case, I have had this bug since the first time I installed it.)
  2. Press the "Login with OAuth App" button
  3. Fill in all contents
  4. Press the Login button

Then nothing changes.The login screen does not open and no errors are output.

Gitify Version

5.12.1

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