Request Device Code
Request a device code and user code for the OAuth 2.0 Device Authorization Flow. This flow is designed for input-constrained devices like smart TVs, IoT devices, or gaming consoles.
How it works:
- Device requests a device code from this endpoint
- Device displays the
user_codeandverification_urito the user - User visits the URL on another device and enters the code
- Device polls
/oauth/tokenusing thedevice_codeuntil user completes authorization
Documentation Index
Fetch the complete documentation index at: https://auth-test.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Autorisations
The access token received from the authorization server in the OAuth 2.0 flow.
Corps
Réponse
Device code issued successfully
The device verification code used when polling for tokens
The end-user verification code. Display this to the user.
The URI the user should visit to enter the user_code
The lifetime in seconds of the device_code and user_code
The minimum number of seconds to wait between polling requests to /oauth/token
Optional URI that includes the user_code for easier user experience