From 2b463a6498400fc9ef0fd97996ffc091945e78df Mon Sep 17 00:00:00 2001 From: Deepak Jain Date: Mon, 15 Jun 2020 11:00:06 +0530 Subject: [PATCH] ch12386| Deepak| removing okta secret form frontend --- config.js | 4 ---- config.template.js | 5 ----- deployment_manifest.json | 22 +--------------------- docker-compose.yaml | 7 +------ 4 files changed, 2 insertions(+), 36 deletions(-) diff --git a/config.js b/config.js index 5f7c986..9ca2820 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,4 @@ window.config = { - ISSUER: 'https://navi.okta.com', REDIRECT_URI: 'http://localhost:3000/implicit/callback', - CLIENT_ID: '0oa40w5ej7rLPe1MO357', - SCOPE: 'openid groups', - RESPONSE_TYPE: 'id_token', BACKEND_URL: 'http://localhost:8080' } diff --git a/config.template.js b/config.template.js index c76c6cc..44426c0 100644 --- a/config.template.js +++ b/config.template.js @@ -1,8 +1,3 @@ window.config = { - ISSUER: 'APP_ISSUER', - REDIRECT_URI: 'APP_REDIRECT_URI', - CLIENT_ID: 'APP_CLIENT_ID', - SCOPE: 'APP_SCOPE', - RESPONSE_TYPE: 'APP_RESPONSE_TYPE', BACKEND_URL: 'APP_BACKEND_URL' } diff --git a/deployment_manifest.json b/deployment_manifest.json index e570263..a9f0123 100644 --- a/deployment_manifest.json +++ b/deployment_manifest.json @@ -8,26 +8,6 @@ "memory": "300Mi" }, "environmentVariables": [ - { - "name": "ISSUER", - "value": "$ISSUER" - }, - { - "name": "REDIRECT_URI", - "value": "$REDIRECT_URI" - }, - { - "name": "SCOPE", - "value": "$SCOPE" - }, - { - "name": "CLIENT_ID", - "value": "$CLIENT_ID" - }, - { - "name": "RESPONSE_TYPE", - "value": "$RESPONSE_TYPE" - }, { "name": "BACKEND_URL", "value": "$BACKEND_URL" @@ -72,4 +52,4 @@ "name": "Infra" }, "version": "v1" -} \ No newline at end of file +} diff --git a/docker-compose.yaml b/docker-compose.yaml index 54c8c53..ba5730d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,9 +6,4 @@ services: ports: - 3000:8080 environment: - - ISSUER=https://navi.okta.com - - REDIRECT_URI=http://localhost:3000/implicit/callback - - CLIENT_ID=0oa40w5ej7rLPe1MO357 - - SCOPE=openid groups - - RESPONSE_TYPE=id_token - - BACKEND_URL=http://localhost:3000 \ No newline at end of file + - BACKEND_URL=http://localhost:3000