Environment-variable for openid-provider #978
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#978
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello and sorry for my probably stupid question: How do I set up a custom auth-provider via environment-variables?
This is my setup:
I think you will need to do this as a json inside the
VIKUNJA_AUTH_OPENID_PROVIDERS
variable since this is parsed by the configuration library and further parsed later on in a custom handler (but the custom handler is not able to extract those values further from ENV variables)But if we get an answer here, we should definitely add this to the documentation.
Currently you can't configure an openid provider only with environment variables. You'll need to mount a config file for that.
This is caused by viper (the config library we're using) can't handle arrays with env variables.
Open for ideas how this should be possible to use.
That's very unfortunate...
Shall I close this issue?
I mean, you can leave it open until we have a good idea how to fix this, but I don't think that would happen anytime soon. (That is, unless you want to send a PR ofc)
Possibly related: vikunja/api#881
This is the only configuration that cannot be done using environments variables, which is a shame ;)