Login
Here you may add extra information about the section.
Endpoint
| Method | URI | Headers |
|---|---|---|
| POST | /oauth/token |
Default |
URL Params
NoneData Params
{
"grant_type" : "password",
"client_id" : "2",
"client_secret" : "{client_secret}",
"username" : "string|email",
"password" : "string",
"scope" : "*"
}For the dev server the
$client_secret = dev_client_secret_hereFor the production server the
$client_secret = production_client_secret_here{
"grant_type" : "password",
"client_id" : "2",
"client_secret" : "dev_client_secret_here",
"username" : "test@test.com",
"password" : "secret",
"scope" : "*"
}Code 200
Content
{
"token_type" : "Bearer",
"expires_in" : "integer",
"access_token" : "string|token",
"refresh_token" : "string|token"
}Code 422
Reason put description here
Content
...