Skip to main content
POST
Exchange cloud provider authorization code for admin session

Body

application/json
code
string
required

Authorization code or JWT from the Insforge

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Response

Cloud authorization verified, admin session created

projectAdmin
object
accessToken
string

Internal JWT for admin authentication

csrfToken
string

CSRF token for /api/auth/admin/refresh