Authentication

Approve a CLI login (browser session only)

Changed on

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.

post/api/auth/device/approve

Request

  • Base URL
    https://demo.supercheck.dev
  • Auth
    API key in cookie better-auth.session_token

Request body

user_codestring required
project_idstring uuid required

Response

Recorded.

Changes