auth

Mint Session For Desktop

Mint a fresh SuperTokens session for a user already authed on the web.

When ZugaClaw / ZugaGamer launch zugabot.ai/login?redirect=<proto>://... and the user is already signed in on the web, LoginView calls this with the existing Bearer token. We issue a fresh {access, refresh} pair so the desktop app has what it needs — no re-entering credentials.

Requires a valid Bearer token; the minted pair is bound to the same user.

post/api/auth/session/for-desktop

Request

  • Base URL: https://api.zugabot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.zugabot.ai/api/auth/session/for-desktop
  • Auth: none declared

Response

Successful Response

tokenstring required
refresh_tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.