Skip to content

Commit

Permalink
Change realm name in Keycloack
Browse files Browse the repository at this point in the history
  • Loading branch information
jraddaoui committed Jun 26, 2024
1 parent 6650287 commit 26d62c0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dashboard/.env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VITE_OIDC_ENABLED=true
VITE_OIDC_AUTHORITY=http://keycloak:7470/realms/enduro
VITE_OIDC_AUTHORITY=http://keycloak:7470/realms/artefactual
VITE_OIDC_CLIENT_ID=enduro
VITE_OIDC_REDIRECT_URI=http://localhost:8080/user/signin-callback
VITE_OIDC_EXTRA_SCOPES=enduro
Expand Down
2 changes: 1 addition & 1 deletion enduro.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enabled = true

[api.auth.oidc]
# OIDC provider URL. Required when auth. is enabled.
providerURL = "http://keycloak:7470/realms/enduro"
providerURL = "http://keycloak:7470/realms/artefactual"
# OIDC client ID. The client ID must be included in the `aud` claim of
# the access token. Required when auth. is enabled.
clientID = "enduro"
Expand Down
2 changes: 1 addition & 1 deletion hack/kube/components/dev/enduro-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
type: Opaque
stringData:
oidc-enabled: "true"
oidc-provider-url: http://keycloak:7470/realms/enduro
oidc-provider-url: http://keycloak:7470/realms/artefactual
oidc-redirect-url: http://localhost:8080/user/signin-callback
oidc-client-id: enduro
oidc-extra-scopes: enduro
Expand Down
4 changes: 2 additions & 2 deletions hack/kube/components/dev/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ kind: ConfigMap
metadata:
name: keycloak-realm-config
data:
enduro-realm.json: |
artefactual-realm.json: |
{
"id": "edc1624d-4b30-4f22-a6d0-3a171fe08a6a",
"realm": "enduro",
"realm": "artefactual",
"enabled": true,
"users": [
{
Expand Down
2 changes: 1 addition & 1 deletion hack/kube/components/dev/minio-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: Opaque
stringData:
user: minio
password: minio123
oidc-url: http://keycloak:7470/realms/enduro/.well-known/openid-configuration
oidc-url: http://keycloak:7470/realms/artefactual/.well-known/openid-configuration
oidc-client-id: minio
oidc-client-secret: K5do3lZeHEzR3ajzCEudH4OGe7KWUmfe
oidc-scopes: openid email profile minio
Expand Down
2 changes: 1 addition & 1 deletion hack/kube/components/dev/temporal-ui-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
type: Opaque
stringData:
cors-origins: http://localhost:7440
auth-provider-url: http://keycloak:7470/realms/enduro
auth-provider-url: http://keycloak:7470/realms/artefactual
auth-callback-url: http://localhost:7440/auth/sso/callback
auth-client-id: temporal
auth-client-secret: R0oJNfvLrUiSyHnB9tAATMPcrcW2xRdK
6 changes: 3 additions & 3 deletions internal/api/auth/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestConfig(t *testing.T) {
config: &auth.Config{
Enabled: true,
OIDC: &auth.OIDCConfig{
ProviderURL: "http://keycloak:7470/realms/enduro",
ProviderURL: "http://keycloak:7470/realms/artefactual",
ClientID: "enduro",
},
},
Expand All @@ -38,7 +38,7 @@ func TestConfig(t *testing.T) {
config: &auth.Config{
Enabled: true,
OIDC: &auth.OIDCConfig{
ProviderURL: "http://keycloak:7470/realms/enduro",
ProviderURL: "http://keycloak:7470/realms/artefactual",
ClientID: "enduro",
ABAC: auth.OIDCABACConfig{
Enabled: true,
Expand Down Expand Up @@ -67,7 +67,7 @@ func TestConfig(t *testing.T) {
config: &auth.Config{
Enabled: true,
OIDC: &auth.OIDCConfig{
ProviderURL: "http://keycloak:7470/realms/enduro",
ProviderURL: "http://keycloak:7470/realms/artefactual",
ClientID: "enduro",
ABAC: auth.OIDCABACConfig{
Enabled: true,
Expand Down

0 comments on commit 26d62c0

Please sign in to comment.