-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🔍 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.
gitify/src/utils/auth/utils.ts
Lines 20 to 30 in 7c5d6b7
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
- Reset App (In my case, I have had this bug since the first time I installed it.)
- Press the "Login with OAuth App" button
- Fill in all contents
- 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
Labels
bugSomething isn't workingSomething isn't working