Oidc Exchange
Changed onExchange a one-time ticket for authentication credentials.
The SPA calls this endpoint with the ticket received from the callback redirect. Tickets are single-use and expire after 60 seconds. A missing or malformed body is a 422 (FastAPI request validation); a well-formed but unknown or expired ticket is a 400. Legacy clients receive the refresh token in the response body; the PWA receives it only as an HttpOnly cookie.
Request
- The document declares no server URL.
- Auth: none declared
Headers
Request body
Response
Successful Response
Changes
- breaking
the response property
became optional for the status - breaking
response property
refresh_tokenlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
added the new optional
headerrequest parameterX-Journiv-Client
- breaking
- breaking
added required request body
- info
added the non-success response with the status
- breaking