Setup
1
Get credentials
Go to the Twitter Developer Portal and create a project and app. Under User authentication settings, enable OAuth 2.0 and set the redirect URI to:2
Scopes
Default scopes:users.read, tweet.read
Authenticate users with Twitter/X via createTwitterProvider. Covers OAuth 2.0 PKCE, Developer Portal configuration, and users.read and tweet.read scopes.
users.read, tweet.read