POST
Exchange One Time Code

Body

application/json

The one-time session hand-off code from the Google callback redirect.

code
string
required

Response

Successful Response

A normal local session, plus the validated relative path the UI should land on after storing it (next from the original login attempt).

token
string
required
user
UserResponse ┬╖ object
required
next
string | null