diff --git a/src/OAuth2User.ts b/src/OAuth2User.ts index 64d2eb6..a1df73f 100644 --- a/src/OAuth2User.ts +++ b/src/OAuth2User.ts @@ -255,7 +255,7 @@ export class OAuth2User implements AuthClient { this.#code_verifier = options.code_challenge; } const code_challenge = this.#code_challenge; - const url = new URL("https://twitter.com/i/oauth2/authorize"); + const url = new URL("https://x.com/i/oauth2/authorize"); url.search = buildQueryString({ ...options, client_id,