[SDNC] Fix Oauth field 04/129104/4
authorsebdet <sebastien.determe@intl.att.com>
Thu, 5 May 2022 11:25:46 +0000 (11:25 +0000)
committerAlexander Dehn <alexander.dehn@highstreet-technologies.com>
Tue, 10 May 2022 07:04:53 +0000 (07:04 +0000)
The field redirectUri crashes the oauth feature because
there too many double quotes dumped in the oauth config file

Change-Id: Ia69a1b6185e4a6cab56061d1d168d783d67518f2
Issue-ID: SDNC-1697
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
kubernetes/sdnc/resources/config/conf/oauth-provider.config.json

index 8d3c106..7f99ed9 100644 (file)
@@ -2,7 +2,7 @@
     "tokenSecret": "${OAUTH_TOKEN_SECRET}",
     "tokenIssuer": {{ .Values.config.sdnr.oauth.tokenIssuer | quote }},
     "publicUrl": {{ .Values.config.sdnr.oauth.publicUrl | quote }},
-    "redirectUri": "{{ .Values.config.sdnr.oauth.redirectUri | quote | default "null" }}",
+    "redirectUri": "{{ .Values.config.sdnr.oauth.redirectUri | default "null" }}",
     "supportOdlUsers": "{{ .Values.config.sdnr.oauth.supportOdlUsers | default "true" }}",
     "providers": {{ .Values.config.sdnr.oauth.providers | toJson  }}
-}
\ No newline at end of file
+}