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

Closes #1100

* Update twitter authorization url

The twitter authorization URL is outdated.

* add a changeset
pull/1101/head
liquidleif 2025-04-03 16:18:24 +02:00 committed by GitHub
parent e8512f0ee9
commit 091b182a6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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_method: 'S256',
})
return `https://twitter.com/i/oauth2/authorize?${parsedOptions}`
return `https://x.com/i/oauth2/authorize?${parsedOptions}`
}
private async getTokenFromCode() {