feat: shared secret auth

This commit is contained in:
decentral1se
2022-09-22 16:01:19 +02:00
parent 13edf77ece
commit 1e8b616cba
7 changed files with 163 additions and 8 deletions

View File

@ -20,7 +20,12 @@ modules:
# do_thing: true
# - module: my_other_super_module.SomeClass
# config: {}
{{ if eq (env "SHARED_SECRET_AUTH_ENABLED") "1" }}
- module: shared_secret_authenticator.SharedSecretAuthProvider
config:
shared_secret: {{ secret "shared_secret_auth" }}
m_login_password_support_enabled: true
{{ end }}
## Server ##