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

.env and json file location option #397

Closed
cwp-michaell opened this issue May 24, 2023 · 1 comment · Fixed by #407
Closed

.env and json file location option #397

cwp-michaell opened this issue May 24, 2023 · 1 comment · Fixed by #407
Assignees
Labels
Scope: Improvement Proposed improvements, or feature additions.

Comments

@cwp-michaell
Copy link

What should be added?

Would it be possible to add the ability to locate the json and/or .env files used for configuration is a sub directory rather than root directory.

The reason for the request is based around containerisation.

Kubernetes allows for mounting of storage locations to containers, but this feature can't be used for storage of the auth0 configuration files( even though it is ideally suited for it) because they are expected in the root directory. If we could specify or if a specific directory was added to the getEnvironment and getJson functions this would allow this feature to be used.

@evansims evansims self-assigned this May 28, 2023
@evansims evansims added the Scope: Improvement Proposed improvements, or feature additions. label May 28, 2023
@evansims
Copy link
Member

Hey, @cwp-michaell! 👋 Thanks for your feature suggestion.

Sure thing, that should be a pretty simple change to make. We can expose a new optional key in the configuration to assign the configuration search path. I'll work on that next week when I return from vacation. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Improvement Proposed improvements, or feature additions.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants