refactor(nextauth): change provider from Google to Keycloak
- using self-hosted keycloak as SSO `https://sso.mareshq.com`
This commit is contained in:
parent
083fe4565d
commit
2a7b833b2e
7 changed files with 40 additions and 25 deletions
|
|
@ -8,5 +8,6 @@ metadata:
|
|||
"helm.sh/hook-weight": "-15"
|
||||
stringData:
|
||||
NEXTAUTH_SECRET: {{ .Values.backoffice.secrets.nextauthSecret | quote }}
|
||||
GOOGLE_CLIENT_ID: {{ .Values.backoffice.secrets.googleClientID | quote }}
|
||||
GOOGLE_CLIENT_SECRET: {{ .Values.backoffice.secrets.googleClientSecret | quote }}
|
||||
KEYCLOAK_CLIENT_ID: {{ .Values.backoffice.secrets.keycloakClientID | quote }}
|
||||
KEYCLOAK_CLIENT_SECRET: {{ .Values.backoffice.secrets.keycloakClientSecret | quote }}
|
||||
KEYCLOAK_ISSUER: {{ .Values.backoffice.secrets.keycloakIssuer | quote }}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@ backoffice:
|
|||
secretes:
|
||||
databaseURL: "postgres://postgres:postgres@localhost:5432/backoffice"
|
||||
nextauthSecret: "secret"
|
||||
googleClientID: "secret"
|
||||
googleClientSecret: "secret"
|
||||
keycloakClientID: "secret"
|
||||
keycloakClientSecret: "secret"
|
||||
keycloakIssuer: "secret"
|
||||
|
||||
image:
|
||||
tag: dummy
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@ backoffice:
|
|||
secrets:
|
||||
databaseURL: null
|
||||
nextauthSecret: null
|
||||
googleClientID: null
|
||||
googleClientSecret: null
|
||||
keycloakClientID: null
|
||||
keycloakClientSecret: null
|
||||
keycloakIssuer: null
|
||||
|
||||
dockerconfigjsonBase64: null
|
||||
|
|
|
|||
Reference in a new issue