Sync the consumer profile from the OIDC id_token
Эта страница пока доступна только на английском языке. Руководства переведены; автоматически генерируемый справочник API публикуется на английском.
Accepts the OIDC id_token the client holds from sign-in, validates it against the project's OIDC provider (JWKS signature + issuer + audience), asserts the id_token subject belongs to the authenticated account, and merges the rich profile claims (name/given_name/family_name/picture) into the account's identity link. The subsequent /me read then surfaces the full profile. Idempotent.
Authorization
bearer_auth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/consumer/v1/me/profile-sync" \ -H "Content-Type: application/json" \ -d '{ "id_token": "string" }'{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}