summaryrefslogtreecommitdiff
path: root/internal/configuration/schema/configuration.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2021-05-05 08:06:05 +1000
committerClément Michaud <clement.michaud34@gmail.com>2021-05-05 00:15:36 +0200
commitddea31193bd3b348ca381d39a314118868ba0128 (patch)
tree3fc608e9a0fc82b6c5e2bee5ea4992715cd52191 /internal/configuration/schema/configuration.go
parent48d8e1e5418ac01345f48ab39538794401b71728 (diff)
feature(oidc): add support for OpenID Connect
OpenID connect has become a standard when it comes to authentication and in order to fix a security concern around forwarding authentication and authorization information it has been decided to add support for it. This feature is in beta version and only enabled when there is a configuration for it. Before enabling it in production, please consider that it's in beta with potential bugs and that there are several production critical features still missing such as all OIDC related data is stored in configuration or memory. This means you are potentially going to experience issues with HA deployments, or when restarting a single instance specifically related to OIDC. We are still working on adding the remaining set of features before making it GA as soon as possible. Related to #189 Co-authored-by: Clement Michaud <clement.michaud34@gmail.com>
Diffstat (limited to 'internal/configuration/schema/configuration.go')
-rw-r--r--internal/configuration/schema/configuration.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/configuration/schema/configuration.go b/internal/configuration/schema/configuration.go
index 040b64a79..89434d351 100644
--- a/internal/configuration/schema/configuration.go
+++ b/internal/configuration/schema/configuration.go
@@ -14,6 +14,7 @@ type Configuration struct {
JWTSecret string `mapstructure:"jwt_secret"`
DefaultRedirectionURL string `mapstructure:"default_redirection_url"`
+ IdentityProviders IdentityProvidersConfiguration `mapstructure:"identity_providers"`
AuthenticationBackend AuthenticationBackendConfiguration `mapstructure:"authentication_backend"`
Session SessionConfiguration `mapstructure:"session"`
TOTP *TOTPConfiguration `mapstructure:"totp"`