fix: changed the Twitter provider to use "post" authentication instead of "basic" when validating the authorization code (#3485)

This commit is contained in:
Dagmawi Babi
2025-07-19 15:37:45 -07:00
committed by GitHub
parent 9a470865d2
commit bd8ae58c5f
@@ -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",