Start device flow (without appIdentifier)

GET {{authPath}}/{{envID}}/device

The GET /{{envID}}/device operation returns a 302 message with a flowID embedded in the Location header for applications that specify a device auth grant. The Location header looks like this:

https://apps.pingone.com/934dba65-d14e-413e-21b4-ee699a5cea21/signon/?flowId=032150b5-44a3-4b2f-8b3b-126aabb3e89f

When using the /device endpoint for a device auth grant flow without the application identifier, the flow uses the environment's default sign-on policy. The flow's application and resumeUrl properties are not validated for input.

This request supports the user_code query parameter. If the request URL includes the user_code query parameter, GET /{{envID}}/device?user_code={{userCode}}, the sign-on flow pre-populates the activation input field with the user_code value returned by the POST {{authPath}}/{{envID}}/as/device_authorization request.

Request Params

KeyDatatypeRequiredDescription
user_codestringPre-populates the activation input field with the user_code value returned by the POST {{authPath}}/{{envID}}/as/device_authorization request.

HEADERS

KeyDatatypeRequiredDescription
Cookiestring