v2

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-04-1516093.4 KB
OAuth

Device Authorization

RFC 8628 device authorization request. Returns a user_code and verification_uri that the user visits on another device to approve. Poll POST /oauth/token with grant_type urn:ietf:params:oauth:grant-type:device_code to retrieve the token.

post/oauth/device/code

Response

Default Response

device_codestring required
user_codestring required
verification_uristring uri required
verification_uri_completestring uri
expires_ininteger required

Device code lifetime in seconds

intervalinteger required

Minimum polling interval in seconds