user

Login User

Login with X25519 public key verification (local or SSO).

SIMPLEST POSSIBLE AUTH: Client derives X25519 public key from password and sends it. Server compares with stored public key. Match = correct password!

For SSO users: Also validates SSO token before proceeding. For local users: Only public key verification needed.

Returns encrypted login response that only the correct password can decrypt.

post/api/user/login

Request body

emailstring email required
public_keystring required
sso_tokenstring nullable

Response

Successful Response

object required

Changes