From 08593165712c80d2e88d59934be5ad8fa4bb5339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Fri, 6 Nov 2020 11:32:36 +0100 Subject: [PATCH] Fixes #811 - enable dynamic client registration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- changelog/unreleased/enable-dynamic-client-registration.md | 6 ++++++ konnectd/pkg/flagset/flagset.go | 1 + 2 files changed, 7 insertions(+) create mode 100644 changelog/unreleased/enable-dynamic-client-registration.md diff --git a/changelog/unreleased/enable-dynamic-client-registration.md b/changelog/unreleased/enable-dynamic-client-registration.md new file mode 100644 index 00000000000..3856b47291e --- /dev/null +++ b/changelog/unreleased/enable-dynamic-client-registration.md @@ -0,0 +1,6 @@ +Change: Enable OpenID dynamic client registration + +Enable OpenID dynamic client registration + +https://github.com/owncloud/ocis/issues/811 +https://github.com/owncloud/ocis/pull/813 diff --git a/konnectd/pkg/flagset/flagset.go b/konnectd/pkg/flagset/flagset.go index ba686ed601f..243d3e31660 100644 --- a/konnectd/pkg/flagset/flagset.go +++ b/konnectd/pkg/flagset/flagset.go @@ -303,6 +303,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { Name: "allow-dynamic-client-registration", Usage: "Allow dynamic OAuth2 client registration", EnvVars: []string{"KONNECTD_ALLOW_DYNAMIC_CLIENT_REGISTRATION"}, + Value: true, Destination: &cfg.Konnectd.AllowDynamicClientRegistration, }, &cli.BoolFlag{