Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate @materia/users in @materia/server and use admin users to remove rootPassword #35

Open
thyb opened this issue Oct 13, 2018 · 0 comments

Comments

@thyb
Copy link
Member

thyb commented Oct 13, 2018

If we integrate @materia/users in this repository and install it by default in every applications, we can use admin role to connect materia-server admin API instead of using rootPassword.

Advantage:

  • no rootPassword written in clear text in materia.json & materia.prod.json
  • Same login system than the one used in the application (not duplicated in 2 different system)

If no database setup, we can still connect to a local sqlite database to have the minimal user structure

If no admin user defined, need a cli command to initialize the first admin user (to let materia-designer connect the admin API)


  • Materia Version: v1.0.0-beta.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant