Skip to content

Commit 37a0b0b

Browse files
committed
feat: use system browser for oauth flow
Signed-off-by: Adam Setch <[email protected]>
1 parent c67e7b3 commit 37a0b0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/utils/auth/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ export function getNewOAuthAppURL(hostname: Hostname): Link {
207207
);
208208
newOAuthAppURL.searchParams.append(
209209
'oauth_application[url]',
210-
'https://www.gitify.io',
210+
'https://gitify.io',
211211
);
212212
newOAuthAppURL.searchParams.append(
213213
'oauth_application[callback_url]',
214-
'https://www.gitify.io/callback',
214+
'gitify://oauth',
215215
);
216216

217217
return newOAuthAppURL.toString() as Link;

0 commit comments

Comments
 (0)