fix idp config generation

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-08-09 13:18:41 +02:00
parent 8019bc916f
commit b5e6257f8e
2 changed files with 6 additions and 1 deletions

View 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

View File

@@ -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")