fix(oauth-providers): Update twitter authorization url (#1099)

Closes #1100

* Update twitter authorization url

The twitter authorization URL is outdated.

* add a changeset
pull/1017/head
liquidleif 2025-04-03 16:18:24 +02:00 committed by Tim Barley
parent 741e9d49ff
commit 509ead8934
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/oauth-providers': patch
---
fix: Update twitter authorization url

View File

@ -74,7 +74,7 @@ export class AuthFlow {
code_challenge: this.code_challenge, code_challenge: this.code_challenge,
code_challenge_method: 'S256', code_challenge_method: 'S256',
}) })
return `https://twitter.com/i/oauth2/authorize?${parsedOptions}` return `https://x.com/i/oauth2/authorize?${parsedOptions}`
} }
private async getTokenFromCode() { private async getTokenFromCode() {