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

Auto-create client credentials on environment variable or config? #493

Open
danwdart opened this issue Sep 25, 2018 · 1 comment
Open

Auto-create client credentials on environment variable or config? #493

danwdart opened this issue Sep 25, 2018 · 1 comment

Comments

@danwdart
Copy link
Contributor

When installing an app that's been created using DADI API, currently it needs to be "restored" from a DB backup or JSON file to make it accessible.

I think it would be good if we could have the "create a new client" procedure automatically happen based on an environment variable / config option when the app is started for the first time. This would allow distributions of new app stacks to be easier and faster.

Use case: If I make a new app based on DADI API intended for distribution, the admin user will have to enter the "create client" steps every time instead of just defining it in the configs / envs every time they install.

@danwdart
Copy link
Contributor Author

This also might raise the question of whether there should be a "migration" system for default data?

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

2 participants