OAuth 2 Device Authorization Flow
Last updated
{
"device_code": "2c169147-c761-4691-accd-00c702cf3b60",
"user_code": "32761c50-bc77-422d-b1d8-dadae4b9ef37",
"verification_uri": "https://pulsoid.net/oauth2/device_authorization_consent",
"verification_uri_complete": "https://pulsoid.net/oauth2/device_authorization_consent?user_code=32761c50-bc77-422d-b1d8-dadae4b9ef37",
"expires_in": 600,
"interval": 3
}curl --request POST \
--url https://pulsoid.net/oauth2/token \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'grant_type="urn:ietf:params:oauth:grant-type:device_code"' \
--data device_code=2c169147-c761-4691-accd-00c702cf3b60 \
--data client_id=ad9e3778-347f-4aec-9ec6-98b0d353f6f9{
"access_token": "02a61b22-1c7e-477d-98ed-96f4aef7d5ad",
"expires_in": 1261440000,
"token_type": "bearer"
}{
"error": "some error",
"error_description": null
}