Twitter login setup

Setting up Social Login requires establishing a trusted relationship between Strivacity and Twitter.

Twitter login

They're two steps required to setup a your Strivacity instance to use Twitter as a social login provider:

Step 1: Configuring Twitter Authentication in the Twitter Developer Portal

Step 2: Configuring Twitter Authentication in Strivacity

Step 1: Configuring Twitter Authentication in the Twitter Developer Portal

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:

Click to Enlarge

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.

Click to Enlarge

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.

Click to Enlarge

7) Next, select your newly created application and within Authentication Settings, click Edit, as shown below:

Click to Enlarge

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.

📘

If you wish to use Strivacity to collect and use the customer email address then please be advised that you will need to provide URL's to suitable Terms of Service and Privacy Policy

9) Within Edit authentication , complete the following information as shown in the table below and click Save.

SettingValue
Enable 3-legged OAuthEnabled
Request email address from usersEnabled (if you configure Strivacity to collect this information)
Callback URLThe full URL to redirect to after a user authorizes an installation. This will be: https://[Strivacity instance URL]/login/api/v1/socialCallback
Terms of ServiceURL to your Terms of Service. Required if enabling the synchronization of the customer/users email address
Privacy PolicyURL to your Privacy Policy. 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.

Step 2: Configuring Twitter Authentication in Strivacity

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:

Social login screen

4) From the Create Social Login Provider screen click the Twitter icon as shown below:

Create login provider

5) The Create Twitter Login Provider screen will now be displayed as shown below:

Create Twitter login provider screen

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.