ClickLogin - API
Public API for ClickLogin platform
Add site
POST
https://api.clicklogin.ru/api/addtoken
Add your site to platform
Path Parameters
domain
string
Ex: https://google.com
Stats
GET
https://api.clicklogin.ru/api/stats
Stats
Auth user (Ex: vk)
GET
https://api.clicklogin.ru/api/auth/[AUTH_TYPE]?domain=[DOMAIN]&redirect=[REDIRECT_URL]&token=[CLICK_LOGIN_TOKEN]
Supported [AUTH_TYPE] (One of them): vk, fb, ok, gp [DOMAIN] ex: clicklogin.ru [REDIRECT_URL] ex: https://clicklogin.ru/ * You can take token from first request in this document. * After this link user will be redirected to Social Network, and bring back to your Redirect URL with ?token_auth param, then you need to check it via CheckUser request below.
Check user Auth
GET
https://api.clicklogin.ru/api/usereq?token=[TOKEN_AUTH]
You can use file_get_contents() on this link with TOKEN_AUTH from previous request.
Path Parameters
token
string
TOKEN_AUTH from previous request
Last updated
Was this helpful?