API Method: /api/user/redeem-login-token
Log in a user using a pre-authenticated user login token.
This is the second step of a single sign-on process. If you have login_token=abcdef12345, redirect the client you was to be logged in to this URL:
http://videos.example.com/api/user/redeem-login-token?login_token=abcdef12345
Parameters
| Parameter | Description |
|---|---|
| login_token (required) | The user login token. |
Permission level
The minimum required permission level is:
none
Returns
A plain, unstyled error message if the login_token is invalid, consumed or expired.
Otherwise the client is redirected to the return_url you specified when the token was created.





Comments