Authenticate
Endpoint: https://stage.qoreai.com/realms/bocore/protocol/openid-connect/token
Method: POST
Payload
type: FormData
Parameter | Type | Default | Description |
---|---|---|---|
client_id | string | bocore-app | Client ID |
username | string | ||
password | string | ||
grant_type | string | password |
Response
Status Code: 200
{
"access_token": "...",
"expires_in": 300,
"refresh_expires_in": 1800,
"refresh_token": "...",
"token_type": "Bearer",
"not-before-policy": 0,
"session_state": "...",
"scope": "email profile"
}
Status Code: 401
{
"error": "",
"error_description": "Unauthorized"
}