Login

Authenticate with username and password.

post /auth/login
Accept: application/json
Content-Type: application/json

{
    "username": "newuser3",
    "password": "Secure-Password-123"
}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 592
Server: ores-http-server-v1
Access-Control-Allow-Origin: *

{
  "success": true,
  "account_id": "019b9856-215c-7fd4-b139-11821e39d80a",
  "username": "newuser3",
  "email": "newuser3@example.com",
  "password_reset_required": false,
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIwMTliOTg1Ni0yMTVjLTdmZDQtYjEzOS0xMTgyMWUzOWQ4MGEiLCJpYXQiOjE3Njc3ODg1MzYsImV4cCI6MTc2Nzg3NDkzNiwiaXNzIjoib3JlcyIsImF1ZCI6Im9yZXMtYXBpIiwicm9sZXMiOlsiQWRtaW4iXSwidXNlcm5hbWUiOiJuZXd1c2VyMyIsImVtYWlsIjoibmV3dXNlcjNAZXhhbXBsZS5jb20iLCJzZXNzaW9uX2lkIjoiM2IyMTUzYmYtNWM0ZS00Yzg3LWE2ODMtZjY4NWE5OTk5MzFkIiwic2Vzc2lvbl9zdGFydCI6MTc2Nzc4ODUzNn0.xg6PT_c59qYsgKniBfdP_TIKyAwkv0bNOOi3d4Yu8aU"
}

Emacs 29.3 (Org mode 9.6.15)