- Sign up for an X network account.
- Click Create Project on the X developer account dashboard.

- Type any project name.

- Select how you intend to use the X developer platform.

Enter a general description.

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

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

Click User authentication settings → Set up.

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

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.
In the Website URL field enter your website’s URL.

- Save the X app settings.
- Log into your Webasyst backend and open Site app.
- In the website list, select the one for which you need to set up authorization via X.
- Open the Personal section.
- Enable authorization for the selected website.

- Enable the Social networks login option.
- Check the X checkbox.
- Paste the copied API Key and API Key Secret values into the Consumer key and Consumer secret fields.

- Save authorization settings using the button.
- 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.
- Click the X icon on the customer login page.
Done! You have successfully set up authorization via X on your website.










0 comments
No comments yet.