Last update: 12.10.2023
To use Social Login on your site you must perform several steps.
Send request to
Email should be the next format:
On your site create link using html tag <a>
with href attribute like shown below:
<a href="https://sollogin.com/social/login/{social_network}/{public_token}?back_url={redirect_url}">Login with social network</a>
{social_network} - one of our supported social networks [facebook, vk, twitter, google, ok].
{public_token} - Access Token which you received from us.
{redirect_url} - URL to which user will be redirected after authorization.
When user clicks on the link, he will be redirected to {social_network}
for authorization. After successful or unsuccessful authorization, player will be redirected
to the {redirect_url} with GET parameter {token_access}:
http://{redirect_url}?token_access={token_access}
{token_access} - you can exchange this token for user data.
To get user data you must send request to:
https://sollogin.com/api/v1/social/user/{token_access}
{token_access} - temporary code received after user authorization on
previous stage.
As a result of the successful execution of this request you will obtain user data:
{"id": "string", "social": "{social_network}",
"last_name": "string", "first_name": "string",
"email": "string"}
You will get {"error": "string"}
if user does not
confirm authorization, or any other error occurred.
Then simple use this information for integration with your user
registration/authorization process.
Note: If user has denied the transfer of any data to
the application at the stage of authorization in a social network, you will get null in the
respective field. After exchanging token for user data, user data will be deleted and
unavailable anymore.
""