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

From WHMCS Documentation

Line 27: Line 27:
 
# Click '''Save'''.
 
# Click '''Save'''.
 
# Log in to the WHMCS Admin Area.
 
# Log in to the WHMCS Admin Area.
# Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Sign-In Integration]]''' or, prior to WHMCS 8.0, '''Setup > Sign-In Integrations'''.
+
# Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Sign-In Integrations]]''' or, prior to WHMCS 8.0, '''Setup > Sign-In Integrations'''.
 
# Select '''Activate''' under the Twitter heading.
 
# Select '''Activate''' under the Twitter heading.
 
# Enter your Twitter '''API Key''' in the '''ConsumerKey''' field and the '''API Secret''' into the '''ConsumerSecret''' field.
 
# Enter your Twitter '''API Key''' in the '''ConsumerKey''' field and the '''API Secret''' into the '''ConsumerSecret''' field.

Revision as of 17:56, 21 April 2022

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

Signinintegrationslogin.png

Configuring Sign-In with Twitter

Watch the video tutorial for this feature.  

Twitter Sign In Integration requires a Twitter app and API credentials. You can create this using your existing Twitter account. Users will only see the app name you define.

To do this:

  1. Go to https://developer.twitter.com/en/portal/dashboard.
  2. Log in to your Twitter account.
    If you change the Twitter account under which you create the app, users must re-authenticate and re-link their accounts.
  3. Click Create Project.
  4. Select a project name.
  5. Select an app name.
    Screenshot-3.png
  6. Save the API Key and API secret key.
  7. Go to app settings and click Edit in the Authentication Settings section.
  8. Enable 3-legged OAuth.
  9. Enter your WHMCS Client Area URL for the callback URLs and website URL.
    • You must enter a valid callback URL.
    • We recommend adding all three possible callback URLs, replacing http://demo.whmcs.com/whmcs/ with your WHMCS installation URL:
      • http://demo.whmcs.com/whmcs/index.php
      • http://demo.whmcs.com/whmcs/index.php/auth/provider/twitter_oauth/callback
      • http:///demo.whmcs.com/whmcs/auth/provider/twitter_oauth/callback
        Make sure that the WHMCS System URL in WHMCS and the Twitter Website and Callback URLs all include the same subdomain or all do not include a subdomain.
  10. Click Save.
  11. Log in to the WHMCS Admin Area.
  12. Navigate to Configuration () > System Settings > Sign-In Integrations or, prior to WHMCS 8.0, Setup > Sign-In Integrations.
  13. Select Activate under the Twitter heading.
  14. Enter your Twitter API Key in the ConsumerKey field and the API Secret into the ConsumerSecret field.
  15. 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.

For troubleshooting help, see Troubleshooting Sign-In using Twitter.