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/
Step 1
Request a device code from the authorization server
Step 2
Instruct the user where to enter the code
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/