Setting up authorization via X

How to set up authorization via X for personal account and for checkout in the online store

  1. Sign up for an X network account.
  2. Click Create Project on the X developer account dashboard.
  3. Type any project name.
  4. Select how you intend to use the X developer platform.
  5. Enter a general description.

  6. Enter an app name, which will be visible to your website visitors when they will be logging in via X.

  7. Copy the displayed values: API Key, API Key Secret and click App settings.

  8. Click User authentication settings → Set up.

  9. Select Type of App → Web App, Automated App or Bot.

  10. In the App info → Callback URI / Redirect URL field enter a URL of the form https://mydomain.com/oauth.php/twitter/. Replace mydomain.com with your website’s domain name.

  11. In the Website URL field enter your website’s URL.

  12. Save the X app settings.
  13. Log into your Webasyst backend and open Site app.
  14. In the website list, select the one for which you need to set up authorization via X.
  15. Open the Personal section.
  16. Enable authorization for the selected website.
  17. Enable the Social networks login option.
  18. Check the X checkbox.
  19. Paste the copied API Key and API Key Secret values into the Consumer key and Consumer secret fields.
  20. Save authorization settings using the button.
  21. Check how the authorization works:
    • Click the X icon on the customer login page.
    • Enter your X authorization credentials.
    • The page will be reloaded to show authorized user’s personal account on your website.

Done! You have successfully set up authorization via X on your website.

0 comments

    Add comment

    To add a comment please sign up or login