mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
fix: changed the Twitter provider to use "post" authentication instead of "basic" when validating the authorization code (#3485)
This commit is contained in:
@@ -121,7 +121,7 @@ export const twitter = (options: TwitterOption) => {
|
||||
return validateAuthorizationCode({
|
||||
code,
|
||||
codeVerifier,
|
||||
authentication: "basic",
|
||||
authentication: "post",
|
||||
redirectURI,
|
||||
options,
|
||||
tokenEndpoint: "https://api.x.com/2/oauth2/token",
|
||||
|
||||
Reference in New Issue
Block a user