import ConfigDone from '/docs/snippets/u-and-p-provider-config-done.md'
Twitter provider setup for Users & Permissions#
The present page explains how to setup the Twitter provider for the Users & Permissions feature.
You have read the Users & Permissions providers documentation.
Twitter configuration#
- Visit the Apps list page at
- Click on Create an app button
- Fill the information (replace with your own ngrok url):
- App name: Strapi Twitter auth
- Application description: This is a demo app for Strapi auth
- Tell us how this app will be used: - here write a message enough long -
- At the end of the process you should see your Application ID and secret, save them for later
- Go to you app setting and click on edit Authentication settings
- Enable 3rd party authentication AND Request email address from users
- Fill the information (replace with your own ngrok url):
- Callback URLs:
https://65e60559.ngrok.io/api/connect/twitter/callback - Website URL:
https://65e60559.ngrok.io - Privacy policy:
https://d73e70e88872.ngrok.io - Terms of service:
https://d73e70e88872.ngrok.io
- Callback URLs:
Strapi configuration#
- Visit the User & Permissions provider settings page at
- Click on the Twitter provider
- Fill the information (replace with your own client ID and secret):
- Enable:
ON - API Key: yfN4ycGGmKXiS1njtIYxuN5IH
- Api Secret: Nag1en8S4VwqurBvlW5OaFyKlzqrXFeyWhph6CZlpGA2V3VR3T
- The redirect URL to your front-end app:
http://localhost:3000/connect/twitter/redirect
- Enable: