Authorize
Authorize
- application/x-www-form-urlencoded
Request Body
- client_id string
- client_secret string
- grant_type string
Responses
- 200
OK
Response Headers
X-Powered-By string
Access-Control-Allow-Origin string
Content-Type string
Content-Length integer
ETag string
Date string
Connection string
Keep-Alive string
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"_id": "9878416f-d8f0-44bb-a241-c217588f1f6a",
"accessToken": "f7d8ada2a9051fed9e97757ac6649f7ff8c32569",
"accessTokenExpiresAt": "2024-02-23T02:41:02.027Z",
"clientId": "0d8d0652-3a1d-47c3-97a6-d5a513c5f285.sehatmu.client",
"client": {
"name": "John Doe",
"email": "[email protected]"
},
"userId": "64eb3286e34e01fa5887d9b6",
"user": {
"id": "64eb3286e34e01fa5887d9b6",
"email": "[email protected]",
"name": "John Doe"
}
}
Loading...