diff --git a/changelog/unreleased/new-ocis-config.md b/changelog/unreleased/new-ocis-config.md new file mode 100644 index 0000000000..c997b4aae6 --- /dev/null +++ b/changelog/unreleased/new-ocis-config.md @@ -0,0 +1,7 @@ +Change: default to running behind ocis-proxy + +We changed the default configuration to integrate better with ocis. + +Clients are supposed to use the ocis-proxy endpoint `https://localhost:9200` + +https://github.com/owncloud/ocis-phoenix/pull/55 diff --git a/pkg/flagset/flagset.go b/pkg/flagset/flagset.go index cd910c607a..7a8c21bc60 100644 --- a/pkg/flagset/flagset.go +++ b/pkg/flagset/flagset.go @@ -152,7 +152,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { }, &cli.StringFlag{ Name: "web-config-server", - Value: "http://localhost:9140", + Value: "https://localhost:9200", Usage: "Server URL", EnvVars: []string{"PHOENIX_WEB_CONFIG_SERVER"}, Destination: &cfg.Phoenix.Config.Server, @@ -179,14 +179,14 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { }, &cli.StringFlag{ Name: "oidc-metadata-url", - Value: "https://localhost:9130/.well-known/openid-configuration", + Value: "https://localhost:9200/.well-known/openid-configuration", Usage: "OpenID Connect metadata URL", EnvVars: []string{"PHOENIX_OIDC_METADATA_URL"}, Destination: &cfg.Phoenix.Config.OpenIDConnect.MetadataURL, }, &cli.StringFlag{ Name: "oidc-authority", - Value: "https://localhost:9130", + Value: "https://localhost:9200", Usage: "OpenID Connect authority", // TODO rename to Issuer EnvVars: []string{"PHOENIX_OIDC_AUTHORITY"}, Destination: &cfg.Phoenix.Config.OpenIDConnect.Authority,