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

Create a default Tenant #8

Open
shentschel opened this issue Nov 8, 2023 · 1 comment
Open

Create a default Tenant #8

shentschel opened this issue Nov 8, 2023 · 1 comment
Assignees

Comments

@shentschel
Copy link
Collaborator

There is currently an overhead when using the passkey-server for a single project. To create a project you have to start not only the passkey-server api but also the admin api and use the create-tenant Endpoint to get the project up and running.

To improve this situation there should be a command to create a default tenant either by adding the default tenant config to the config.yml or via environment variables.

@shentschel shentschel self-assigned this Feb 27, 2024
@shentschel
Copy link
Collaborator Author

I'm currently torn about how to implement this...

I can implement it via environment variables but then IMHO we should use as much standard values as possible to reduce the amount of variables we have to introduce.

Another way would be to add a default section to the config which can contain all the default tenant stuff. Then we would only need to check once per startup if there already is any tenant before creating one.

What are your opinions on that @FlxMgdnz @FreddyDevelop ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant