Twitter Social Login
Supported Platforms
You can allow your users to sign up & log in to your web app with their Twitter account.
๐ Play with a demo
Prerequisites
- You will need a Twitter Developer account
- You will need to have the Magic SDK installed into your web app
- You will need to have the Magic SDK - OAuth Extension installed into your web app
Twitter Setup
After installing the OAuth extension, you can now enable Twitter Login for your Magic app:
Go to your Magic Dashboard
Select the Magic app for which youโd like to enable Twitter Login, or create a new app
Navigate to Social Login from the sidebar
Click the toggle for Twitter
Copy the Redirect URI field from your Magic Dashboard
Go to Twitter App Dashboard. Navigate to Projects & Apps
In the Projects, click add App, enter your app Name, and click complete
- make sure to copy the API key, API secret key to the Magic dashboard, which you can then use with your application that connects to Twitter
In Magic Dashboard, click Save
Back to the Twitter Dashboard, click Edit in th Authentication settings section
- Toggle Enable 3-legged OAuth and Request email address from user. Make sure to paste the Redirect URI in the input callback URLs and click Save
- You are all set! ๐