Exchange OAuth login code
Auth
Exchange OAuth login code
Exchanges a one-time OAuth login code for the normal the Cyberun platform access and refresh token pair. Intended to be called by the the Cyberun dashboard server.
POST
Exchange OAuth login code
Body
application/json
One-time OAuth login code returned to the Cyberun dashboard after provider callback.
Maximum string length:
4096Example:
"a1b2c3d4e5f6..."
Response
OAuth login successful
Short-lived JWT for authenticating API requests (sent in Authorization Bearer header).
Example:
"eyJhbGciOiJIUzI1NiIs..."
Long-lived JWT used to obtain new access/refresh token pairs.
Example:
"eyJhbGciOiJIUzI1NiIs..."
Access token lifetime in seconds (e.g. 3600 = 1 hour).
Example:
3600
