Skip to content

Commit

Permalink
use service user / hardcode idp
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Mar 15, 2022
1 parent edf8452 commit 6eeed53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion accounts/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func DefaultConfig() *config.Config {
},
ServiceUser: config.ServiceUser{
UUID: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
Username: "",
Username: "service user",
UID: 0,
GID: 0,
},
Expand Down
5 changes: 2 additions & 3 deletions settings/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package defaults

import (
"os"
"path"
"strings"

Expand Down Expand Up @@ -58,8 +57,8 @@ func DefaultConfig() *config.Config {
Metadata: config.Metadata{
GatewayAddress: "127.0.0.1:9142",
StorageAddress: "127.0.0.1:9215",
ServiceUserID: "ddc2004c-0977-11eb-9d3f-a793888cd0f8",
ServiceUserIDP: os.Getenv("OCIS_URL"),
ServiceUserID: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
ServiceUserIDP: "https://localhost:9200",
MachineAuthAPIKey: "change-me-please",
},
}
Expand Down

0 comments on commit 6eeed53

Please sign in to comment.