sihl-user takes care of user management, login, registration and forgot password workflows.
sihl-user ships with 3 backend implementations.
First, choose a backend in service/service.ml:
module User = Sihl_user.PostgreSqlRegister the service in run/run.ml:
let services = [ Service.User.register () ]Run make sihl migrate to run pending migrations.
The service API is documented in Sihl.Contract.User.Sig.