Leave empty to use the default redirect URL
POST /auth/login
Request a magic link for authentication.
Body: { email: string, redirectUrl?: string }
GET /auth/callback
Process a magic link to obtain JWT token.
Query params: preAuthSessionId, linkCode
GET /auth/verify
Verify if a JWT token is valid.
Header: Authorization: Bearer {token}
POST /auth/refresh
Refresh an existing JWT token to extend its validity.
Cookie: refresh_token