CLI Tokens
Approve a CLI login (browser session only)
POST
Records consent for one project. Requires a signed-in browser session and a same-origin request; no key is created until the CLI exchanges the code.
sessionCookiecookie
better-auth.session_token<token>Interactive Better Auth browser session. Secure deployments may use the __Secure- cookie prefix.
application/json- body
user_code*stringproject_id*stringFormat
uuidRecorded.
curl -X POST 'https://app.supercheck.io/api/auth/device/approve' \ -H 'Content-Type: application/json' \ -d '{ "user_code": "string", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"}'Example Response
Empty