xREL.v3

API: oauth2/auth method - Wiki

Change Language
Board RSS API Status Help Contact
Preferences

Article: API: oauth2/auth method

API: oauth2/auth method

This is the endpoint for the first step of the OAuth 2.0 authentication flow. Please do not call this method yourself, rather, direct a user to it.

URL
https://api.xrel.to/v2/oauth2/auth

HTTP Method(s)
GET

Parameters
NameInformation
response_typeThis parameter must be set to code.
client_idYour Consumer Key.
redirect_uriURI to redirect to after the authentication. Please read the Guide for more details.
stateAny string. You may set this value to any value, and it will be returned after the authentication. It might also be useful to prevent CSRF attacks.
scopeNeeded to access protected methods. Most users must leave this blank. Multiple scopes are separated by space.

Please also read the OAuth 2.0 Guide.

Last edit: 15 Apr. 2016 6:31 PM.

Preferences

Rate this article
0/50/50/50/50/50/50/50/50/50/5
Nobody voted so far