user
Login User
Login with Ed25519 signature verification (local or SSO).
Authentication flow:
- Client derives Ed25519 keypair from password
- Client signs "email|timestamp" with Ed25519 private key
- Server verifies signature using stored Ed25519 public key
- Server encrypts response with stored X25519 public key
For SSO users: Also validates SSO token before proceeding.
Returns encrypted login response that only the correct password can decrypt.
post/api/user/login
Request body
Response
Successful Response