Skip to content

Commit e094f54

Browse files
committed
add .env,production
1 parent 3f369a6 commit e094f54

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

client/.env.production

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NEXTAUTH_SECRET=feZJWB3mcQ93VBmqHKQI5er5NEIxcDPb3wtT/KaLB9s=
2+
KEYCLOAK_CLIENT_SECRET=SXiMvr1GG10bk2J63ODZC9SOaoAZ4dbe

infrastructure/whiteboard-app/files/keycloak/realm-export-staging.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -775,12 +775,12 @@
775775
"clientAuthenticatorType": "client-secret",
776776
"secret": "SXiMvr1GG10bk2J63ODZC9SOaoAZ4dbe",
777777
"redirectUris": [
778-
"http://localhost:3000/api/auth/callback/keycloak",
778+
"https://staging.whiteboard.student.k8s.aet.cit.tum.de/api/auth/callback/keycloak",
779779
"http://localhost:8000/*"
780780
],
781781
"webOrigins": [
782782
"http://localhost:8000",
783-
"http://localhost:3000"
783+
"https://staging.whiteboard.student.k8s.aet.cit.tum.de"
784784
],
785785
"notBefore": 0,
786786
"bearerOnly": false,
@@ -796,7 +796,7 @@
796796
"oidc.ciba.grant.enabled": "false",
797797
"client.secret.creation.time": "1708880081",
798798
"backchannel.logout.session.required": "true",
799-
"post.logout.redirect.uris": "http://localhost:3000",
799+
"post.logout.redirect.uris": "https://staging.whiteboard.student.k8s.aet.cit.tum.de",
800800
"display.on.consent.screen": "false",
801801
"oauth2.device.authorization.grant.enabled": "true",
802802
"backchannel.logout.revoke.offline.tokens": "false"

infrastructure/whiteboard-app/staging.values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ postgresql:
105105
keycloak:
106106
ingress:
107107
enabled: true
108+
command:
109+
- "/opt/bitnami/scripts/keycloak/entrypoint.sh"
110+
- "/opt/bitnami/scripts/keycloak/run.sh"
111+
- "--import-realm"
112+
- "--import-realm-file=/opt/bitnami/keycloak/data/import/realm-export.json"
108113
auth:
109114
adminUser: admin
110115
adminPassword: password

0 commit comments

Comments
 (0)