OAuth Authentication

Exchange auth-user device session for platform token

Changed on

Exchanges a verified auth-user device-flow session into a platform token for CLI usage. The target platform user is derived from authenticated auth-user mapping; client cannot select another user.

post/auth/platform/exchange

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    HTTP bearer

Request body

object required
client_id, string required

Response

Platform token minted

PlatformExchangeResponse required
token, string required
user_id, string required
token_id, string uuid required
expires_at, string date-time required

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property code to the response with the status

    5 more changes in this revision