From e119a9180e7ea921418e5d1318ae5bdcc833622d Mon Sep 17 00:00:00 2001 From: Miles O'Connell Date: Tue, 4 Jun 2024 17:57:29 -0700 Subject: [PATCH] Point mangadex login to .org (#29) --- src/MangaDex/MangaDexSettings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MangaDex/MangaDexSettings.ts b/src/MangaDex/MangaDexSettings.ts index 855d8eb..250a8a7 100644 --- a/src/MangaDex/MangaDexSettings.ts +++ b/src/MangaDex/MangaDexSettings.ts @@ -199,7 +199,7 @@ export async function accountSettings(stateManager: SourceStateManager, requestM return App.createDUIOAuthButton({ id: 'mdex_oauth', label: 'Login with MangaDex', - authorizeEndpoint: 'https://auth.mangadex.dev/realms/mangadex/protocol/openid-connect/auth', + authorizeEndpoint: 'https://auth.mangadex.org/realms/mangadex/protocol/openid-connect/auth', clientId: 'thirdparty-oauth-client', redirectUri: 'paperback://mangadex-login', responseType: { @@ -207,7 +207,7 @@ export async function accountSettings(stateManager: SourceStateManager, requestM pkceCodeLength: 64, pkceCodeMethod: 'S256', formEncodeGrant: true, - tokenEndpoint: 'https://auth.mangadex.dev/realms/mangadex/protocol/openid-connect/token' + tokenEndpoint: 'https://auth.mangadex.org/realms/mangadex/protocol/openid-connect/token' }, async successHandler(accessToken, refreshToken?) {