Auto login
POST/auto-login
Auto login using access token
Request
- application/json
Body
required
access_token string
Responses
- 200
- 404
OK.
- application/json
- Schema
- Example (from schema)
Schema
status boolean
token
object
access_token string
client_id string
user_id string
expires integer
scope integer
user
object
id string
name string
sub string
email string
role string
avatar string
subject_id string
{
"status": true,
"token": {
"access_token": "string",
"client_id": "string",
"user_id": "string",
"expires": 0,
"scope": 0
},
"user": {
"id": "string",
"name": "string",
"sub": "string",
"email": "string",
"role": "string",
"avatar": "string"
},
"subject_id": "string"
}
Not found.
- application/json
- Schema
- Example (from schema)
Schema
success boolean
Example:
falsemessage string
Example:
Wrong Access Token!{
"success": false,
"message": "Wrong Access Token!"
}