`POST /device/verify`
POST/device/verify
SEC-: this endpoint requires a valid session (cookie or
Bearer). The approving user is the session's user - user_id, org_id,
and env_id are taken from the session, NEVER from the request body,
so knowledge of a user_code alone can no longer mint tokens for an
arbitrary user.
Handle device verify.
the signed-in user submits the user_code to approve a device sign-in (RFC 8628 ).
Request
Responses
- 200
- 400
- 401
- 410
Device sign-in approved (polling grant armed for this user)
Unknown user_code
No session - approval requires an authenticated user
user_code expired