Sign in with a password
POST
Checks the email address and password and starts a session: the cookie __Host-openfolia-session, as a provider’s sign-in does, ending the browser’s previous session. An unknown address, a person without a password and a wrong password are all 401 invalid-credentials, in the same time. Recorded as user.sign-in (data.method password).
application/vnd.api+json- body
data*application/vnd.api+json- response
meta*curl -X POST 'http://localhost:3000/auth/password/sign-in' \ -H 'Content-Type: application/vnd.api+json' \ -d '{ "data": { "type": "PasswordSignIn", "attributes": { "email": "string", "password": "string" } }}'Example Response
{ "meta": { "userId": "string" }}