Auth APIs/Setup & Login
Google OAuth Login
POST
/auth/google/loginExchange Google authorization code for an Open VTS JWT. Login only — no account auto-creation.
No authentication required
Content-Type:
application/jsonRequest Body
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Required | Google authorization code |
Request Example
JSON
{
"code": "4/0AX4XfWi..."
}Code Examples
curl -X POST 'https://<your-domain>:3001/auth/google/login' \
-H 'Content-Type: application/json' \
-d '{
"code": "4/0AX4XfWi..."
}'Notes
- Response same as Login endpoint.