They're two steps required to setup a your Strivacity instance to use Twitter as a social login provider:
To setup and configure Facebook for use as a social login provider, follow these steps
1) You will first need to apply for a Twitter Developer account via https://developer.twitter.com/en/apply-for-access
2) Once you have an approved Twitter developer account, you will need to create an application within the developer dashboard by logging into https://developer.twitter.com/en/portal/dashboard
3) Once you have logged into the Twitter Developer Portal using your Twitter developer account, navigate to Projects & Apps and then select Overview, as shown below:
4) Next, select + Create App under the Standalone Apps section of the page.
5) Now enter a name for your application. In this example, we used the name 'Strivacity'. Once entered, select the Complete button.
6) The portal will now show a page with the API key, the API secret key, and Bearer token. These should be saved somewhere securely since they will be required for Step 2 of this guide when configuring Strivacity.
7) Next, select your newly created application and within Authentication Settings, click Edit, as shown below:
8) You can now 'Enable 3-legged OAuth', and if you wish Strivacity to collect customer email addresses you can enable this option as well.
9) Within Edit authentication , complete the following information as shown in the table below and click Save.
|Enable 3-legged OAuth||Enabled|
|Request email address from users||Enabled (if you configure Strivacity to collect this information)|
|Callback URL||The full URL to redirect to after a user authorizes an installation. This will be: https://[Strivacity instance URL]/login/api/v1/socialCallback|
|Terms of Service||URL to your Terms of Service. Required if enabling the synchronization of the customer/users email address|
10) This completes the configuration of the Twitter Developer Portal. You can no continued with Step 2: Configuring Twitter Authentication in Strivacity, below.
Following these steps will finalize your setup for using Twitter Authentication as a social login provider with Strivacity (and your application).
1) Start by logging into the Admin Console using an admin account
2) From the left-hand menu, select External Login, then Social Login
3) From the Social Login screen, click the + Create Provider button from the top right hand corner as shown below:
4) From the Create Social Login Provider screen click the Twitter icon as shown below:
5) The Create Twitter Login Provider screen will now be displayed as shown below:
6) Next, copy the ClientID and Client Secret from the Twitter Developer Portal Step 7, above and paste the respective values into the Client ID and Client Secret fields.
Strivacity will use the Twitter Basic Profile attributes of the customers profile. If you choose to synchronize and store this social profile data at each login, then Strivacity will retrieve and store this information which will be visible to the customer in the My Account page, and to any Strivacity Admin's when managing the customer identity.
Updated about 1 month ago