Device Authorization Request
POST/authz-srv/device/authz
Device Authorization Request (OAuth 2.0 Device Authorization Grant - RFC 8628)
Device Authorization enables you to sign in to applications that run on input constrained devices or devices without a browser with the help of a secondary device, such as a laptop or mobile phone.
This POST endpoint is the standardized way according to RFC 8628. The request body uses application/x-www-form-urlencoded format.
This endpoint initializes the device authorization flow and returns a device_code, user_code, and verification_uri. The user then authenticates on a separate device using the user_code, while the device polls the token endpoint using the device_code.
Flow Overview:
- Device requests authorization → receives
device_codeanduser_code - Device displays
user_codeandverification_urito user - User visits
verification_urion separate device and entersuser_code - User authenticates on separate device
- Device polls token endpoint with
device_codeuntil authentication completes
For more details, see the Device Code Flow documentation.
Request
Responses
- 200
- 400
OK
Bad Request