OAuth Authentication
Poll device token endpoint
Changed onRFC8628 token polling endpoint. Returns OAuth errors such as authorization_pending, slow_down, access_denied, and expired_token.
post/auth/device/token
Request
- Base URLhttps://api.volcano.dev
- Authnone declared
Request body
object required
grant_type, 'urn:ietf:params:oauth:grant-type:device_code' required
device_code, string required
client_id, string required
Response
Device flow completed, auth-user session minted
Auth Token Response required
access_token, string required
JWT access token (expires after configured lifetime)
token_type, string required
expires_in, integer required
Access token lifetime in seconds
refresh_token, string
Long-lived token for getting new access tokens. Omitted when the request uses eligible HttpOnly cookie session storage.
user, Auth User required
Example response
{
"token_type": "bearer"
}Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status
9 more changes in this revision
- breaking