Skip to content

Commit 6f43812

Browse files
committed
Update OAuth2 token endpoint to api.x.com
1 parent 0620046 commit 6f43812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/x/oauth2_authenticator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class OAuth2Authenticator < Authenticator
1212
# Path for the OAuth 2.0 token endpoint
1313
TOKEN_PATH = "/2/oauth2/token".freeze
1414
# Host for token refresh requests
15-
TOKEN_HOST = "api.twitter.com".freeze
15+
TOKEN_HOST = "api.x.com".freeze
1616
# Grant type for token refresh
1717
REFRESH_GRANT_TYPE = "refresh_token".freeze
1818
# Buffer time in seconds to account for clock skew and network latency

0 commit comments

Comments
 (0)