OAuth 2.0 Device Code Flow

1

Step 1

Request a device code from the authorization server

2

Step 2

Instruct the user where to enter the code

3

Step 3

Poll the authorization server periodically until the code has been successfully entered

1. Request a Device Code

The first step of the Device flow is to request a device code. This is done with a simple POST request to the device code endpoint.

POST https://example.okta.com/device

client_id=https://www.oauth.com/playground/

← Back to Flows