authentication
Login
Changed onLogin with email and password.
Returns an access token and user information. Legacy clients also receive the refresh token in the response body; the PWA receives it only as an HttpOnly cookie.
post/api/v1/auth/login
Request
- The document declares no server URL.
- Auth: none declared
Headers
X-Journiv-Client'legacy' | 'pwa'
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