Authorize A Browser Client
Redirects the user to Yoto's login page to begin the OAuth2 Authorization Code flow
Responses
No schema available for this response.
No example response provided in the API specification.
errorstring
― invalid_request
― unauthorized_client
― access_denied
― unsupported_response_type
― invalid_scope
― server_error
― temporarily_unavailable
error_descriptionstring
error_uristring · uri
{
"error": "invalid_request",
"error_description": "string",
"error_uri": "https://example.com"
}Query Parameters
audiencestringRequired
Example
https://api.yotoplay.comscopestringRequired
Example
offline_access profileresponse_typestringRequired
Allowed values
codetokenid_tokencode tokencode id_tokentoken id_tokencode token id_token
client_idstringRequired
redirect_uristringRequired
statestringRequired
Opaque value for preventing CSRF attacks
noncestring
String value to prevent replay attacks
promptstring
Specifies the authorization server prompt behavior
Allowed values
noneloginconsentselect_account
max_ageinteger
Maximum authentication age in seconds
code_challengestring
PKCE code challenge
code_challenge_methodstring
PKCE code challenge method
Allowed values
S256plain
GET
/authorizeServer URL: https://login.yotoplay.com
Query Parameters
| KEY | VALUE |
|---|---|
curl "https://login.yotoplay.com/authorize"