SmartMemory
POST
/auth/oidc/session

Exchange a verified OIDC ID token for the normal browser session.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Browser OIDC ID-token exchange input; token material is never persisted.

Response Body

application/json

application/json

curl -X POST "https://example.com/auth/oidc/session" \  -H "Content-Type: application/json" \  -d '{    "id_token": "string",    "nonce": "string"  }'
{
  "id": "string",
  "email": "string",
  "full_name": "string",
  "tenant_id": "string",
  "subscription_tier": "free",
  "is_active": true,
  "is_verified": true,
  "created_at": "2019-08-24T14:15:22Z",
  "roles": [
    "string"
  ],
  "default_team_id": "string",
  "default_workspace_id": "string",
  "active_workspace_id": "string",
  "tenant_role": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}