Authentication

Device authorization page

Changed on

Better Auth serves this as JSON. A top-level browser navigation is redirected to the web app's device screen instead, so opening the URL by hand shows a page rather than a JSON blob.

get/auth/device

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/auth/device
  • Auth
    none required

Query parameters

user_codestring

The device authorization user code.

ui'1'

Force a redirect to the web UI, for clients that do not send Sec-Fetch-* headers.

Response

Device authorization payload from Better Auth

Changes

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status