Skip to content

GET /api/auth/salt/

Retrieve the salt used to calculate the password hash on the client.

Auth: not required.


{
"salt": "sFtqKto6hnaURPGQLJOCT1QMx7myDEGLBsCz3a2L"
}
FieldTypeRequiredDescription
saltstringyes40-character ASCII string
  • Length: 40 characters.
  • Allowed characters: [A-Za-z0-9].
  • The salt is invalidated after every POST /api/auth/login/ attempt, whether successful or not.
  • A new salt must be requested before every login attempt.