mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
fix idp config generation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
5
changelog/unreleased/idp-config-generation-fix.md
Normal file
5
changelog/unreleased/idp-config-generation-fix.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix: We fixed the client config generation for the built in IDP
|
||||
|
||||
We now use the OCIS_URL to generate the web client registration configuration. It does not make sense use the OCIS_ISSUER_URL if the idp was configured to run on a different domain.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9770
|
||||
@@ -48,7 +48,7 @@ func NewService(opts ...Option) Service {
|
||||
|
||||
if err := createTemporaryClientsConfig(
|
||||
options.Config.IDP.IdentifierRegistrationConf,
|
||||
options.Config.IDP.Iss,
|
||||
options.Config.Commons.OcisURL,
|
||||
options.Config.Clients,
|
||||
); err != nil {
|
||||
logger.Fatal().Err(err).Msg("could not create default config")
|
||||
|
||||
Reference in New Issue
Block a user