Authentication
Device authorization page
Changed onBetter 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 URLhttps://cloud.kaneo.app/api
- URLhttps://cloud.kaneo.app/api/auth/device
- Authnone 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/plainfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking
- info
added the non-success response with the status
- info