Difference between revisions of "Configuring Sign-In using Twitter"

From WHMCS Documentation

Line 40: Line 40:
 
[[File:Twittersign4.png]]
 
[[File:Twittersign4.png]]
  
7. Select the '''Permissions''' tab.  WHMCS only requires Read permissions so you can change the default Access permission level to ''Read only''. Then hit '''Update Settings'''
+
7. Select the '''Settings''' tab. In the Application Details section, ensure that the ''Enable Callback Locking'' option is disabled.
 +
 +
[[File:Twittersign7.png]]
 +
 
 +
8. Select the '''Permissions''' tab.  WHMCS only requires Read permissions so you can change the default Access permission level to ''Read only''. Then hit '''Update Settings'''
  
 
[[File:Twittersign5.png]]
 
[[File:Twittersign5.png]]
  
8. Now select the '''Keys and Access Tokens''' tab. Your API Key and Secret will then be displayed. These are the values you will need to activate Twitter Sign In within WHMCS so store these in a safe place.
+
9. Now select the '''Keys and Access Tokens''' tab. Your API Key and Secret will then be displayed. These are the values you will need to activate Twitter Sign In within WHMCS so store these in a safe place.
  
 
[[File:Twittersign6.png]]
 
[[File:Twittersign6.png]]

Revision as of 14:34, 4 June 2018

This article is part of the Sign-In Integrations feature.

Purpose

Enabling the Twitter Sign In Integration enables visitors and customers to register, sign in and connect their Twitter accounts with your WHMCS installation for faster sign-up and automatic sign-in.

Signinintegrationslogin.png

Configuring Sign-In with Twitter

Watch Video Tutorial

There are 2 steps required to setup Sign-In with Twitter:

  1. Create a Twitter App and Retrieve API Credentials
  2. Activate Twitter Sign In within WHMCS

Create a Twitter App and Retrieve API Credentials

Twitter Sign In Integration requires a Twitter App and API Credential Set. You can create this using your existing Twitter account. Users will only see the App Name you define and not see anything relating to the account you use to create the project.

Be aware that the Twitter account under which you create the app can not be changed without requiring users to re-authenticate and re-link their accounts so it is important to set the app up under an account that you will always have access to.

1. Visit https://apps.twitter.com/
2. If not logged in, login to your Twitter account
3. Click the Create New App button

Twittersign1.png

4. Enter a Name, Description and Website URL for your App. You must also enter a valid URL in the Callback URL. The URL you enter here is not used, but a URL must be defined to enable WHMCS to utilise callbacks.

Twittersign2.png

5. If you do not yet have a phone number defined inside your Twitter account, you will see the following error upon submitting. To create an App, Twitter requires that you have a valid phone number registered in your account with them. You must do this before continuing.

Twittersign3.png

6. After submitting the App Creation form, you should see a success confirmation page that looks as follows.

Twittersign4.png

7. Select the Settings tab. In the Application Details section, ensure that the Enable Callback Locking option is disabled.

Twittersign7.png

8. Select the Permissions tab. WHMCS only requires Read permissions so you can change the default Access permission level to Read only. Then hit Update Settings

Twittersign5.png

9. Now select the Keys and Access Tokens tab. Your API Key and Secret will then be displayed. These are the values you will need to activate Twitter Sign In within WHMCS so store these in a safe place.

Twittersign6.png

You can now proceed to Activate Twitter Sign In within WHMCS.

Activate Twitter Sign In within WHMCS

  1. Login to the WHMCS Admin Area
  2. Navigate to Setup > Sign-In Integrations
  3. Select Activate under the Twitter heading
  4. Enter your Twitter API Key and API Secret where requested
  5. Click Save & Activate

WHMCS will attempt to validate and test the details you have entered. If the API Key and Secret are valid and successfully authenticate with the Twitter API, the values will be saved and the modal will close.

Congratulations! Twitter Sign In is now enabled.

Troubleshooting

For troubleshooting help, please refer to Troubleshooting Sign-In using Twitter