X OAuth endpoints and related development resources
X authorization endpoint
https://twitter.com/i/oauth2/authorize
The endpoint to redirect users to in order to grant your application access to their account.
X token endpoint
https://api.twitter.com/2/oauth2/token
The endpoint to exchange the authorization code or refresh token for an access token and a refresh token.
X userinfo endpoint
https://api.twitter.com/2/users/me
The standardized OAuth endpoint that returns authenticated user profile information, including claims about the current user based on the scope of access token.