Skip to content

Commit 509ead8

Browse files
liquidleifTimBarley
authored andcommitted
fix(oauth-providers): Update twitter authorization url (honojs#1099)
Closes honojs#1100 * Update twitter authorization url The twitter authorization URL is outdated. * add a changeset
1 parent 741e9d4 commit 509ead8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/violet-melons-glow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@hono/oauth-providers': patch
3+
---
4+
5+
fix: Update twitter authorization url

packages/oauth-providers/src/providers/x/authFlow.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class AuthFlow {
7474
code_challenge: this.code_challenge,
7575
code_challenge_method: 'S256',
7676
})
77-
return `https://twitter.com/i/oauth2/authorize?${parsedOptions}`
77+
return `https://x.com/i/oauth2/authorize?${parsedOptions}`
7878
}
7979

8080
private async getTokenFromCode() {

0 commit comments

Comments
 (0)