Skip to content

Commit

Permalink
Merge pull request #1 from ProjectDislocate/ProjectDislocate-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectDislocate authored Jun 19, 2024
2 parents e0f20be + 7c6813e commit 41c7bf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MangaDex/MangaDexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ 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: {
type: 'pkce',
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?) {
Expand Down Expand Up @@ -359,4 +359,4 @@ export function resetSettings(stateManager: SourceStateManager) {
stateManager.store('manga_thumbnail', null)])
}
})
}
}

0 comments on commit 41c7bf7

Please sign in to comment.