Skip to content

Commit

Permalink
Merge pull request #1 from milesoc/valid-login
Browse files Browse the repository at this point in the history
Point mangadex login to .org (TheNetsky#29)
  • Loading branch information
milesoc authored Jun 5, 2024
2 parents 7704617 + e119a91 commit bdc7b60
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 bdc7b60

Please sign in to comment.