Skip to content

Commit

Permalink
Point mangadex login to .org (TheNetsky#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles O'Connell committed Jun 5, 2024
1 parent 7704617 commit e119a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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

0 comments on commit e119a91

Please sign in to comment.