auth
Login with the Privy access token
Accepts the token from the privy-token cookie or an Authorization: Bearer header. The cookie takes precedence; the bearer header is a permanent path for mobile and the admin app. The body is the GET /auth/session payload, plus jwt for bearer clients.
post/auth/login
Headers
x-dre-auth-modestring
Set to cookie to receive the session as Set-Cookie: __Host-dre-session plus an X-CSRF-Token response header, with no jwt in the body. Omit for the bearer response.
Request body
LoginDto required
Response
Login successful
Changes
No recorded changes to this endpoint across all 1 revision of this API.