fix(oauth-providers): Update twitter authorization url (#1099)
Closes #1100 * Update twitter authorization url The twitter authorization URL is outdated. * add a changesetpull/1101/head
parent
e8512f0ee9
commit
091b182a6a
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hono/oauth-providers': patch
|
||||
---
|
||||
|
||||
fix: Update twitter authorization url
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue