Commit f912884a authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

Changes to fix refresh_token issue - Remove PreScript and assign value for...

Changes to fix refresh_token issue - Remove PreScript and assign value for Scope in the environment file
parent ddd7b22d
Pipeline #5095 failed with stages
in 7 seconds
......@@ -39,15 +39,7 @@
"script": {
"id": "97f2dcfd-27af-4945-a0e2-bbbce1c8cb70",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "7b28a340-5a47-49d5-8be0-3ccc77769ddc",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -419,7 +419,7 @@
},
{
"key": "Scope",
"value": "???",
"value": "{{CLIENT_ID}}/.default openid profile offline_access",
"enabled": true
},
{
......
......@@ -414,7 +414,7 @@
},
{
"key": "Scope",
"value": "???",
"value": "{{CLIENT_ID}}/.default openid profile offline_access",
"enabled": true
},
{
......
......@@ -19,7 +19,7 @@
},
{
"key": "Scope",
"value": "???",
"value": "email openid profile",
"enabled": true
},
{
......
......@@ -414,7 +414,7 @@
},
{
"key": "Scope",
"value": "???",
"value": "{{CLIENT_ID}}/.default openid profile offline_access",
"enabled": true
}
],
......
......@@ -39,15 +39,7 @@
"script": {
"id": "6ec4157a-6f98-4282-a25a-8380ff018228",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "11309111-321a-4475-92d4-3a3ebfd893d5",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "00161827-149e-4916-a197-39fbfa001125",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "f4279660-e453-4536-812e-8193fd9c7c37",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "824c7f7c-da8b-479c-aa7d-52dc85a39145",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "f81cfc89-1e16-4888-9918-ff9a39c9bf87",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "dca24583-9073-4ddb-a61c-65671c0a7b6a",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "ae384f74-834d-4c4d-b725-7c48f0e17b19",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "0c446259-f245-4624-9c72-9e8862573cd7",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "66756e80-8924-42bd-ae98-c558e381cb3f",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "571adf38-86d2-45a1-a719-8fe98795f9fb",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
......@@ -39,15 +39,7 @@
"script": {
"id": "97f2dcfd-27af-4945-a0e2-bbbce1c8cb70",
"exec": [
"cp = pm.environment.get(\"cloud_platform\");\r",
"\r",
"if (cp == \"GCP\") {\r",
" pm.environment.set(\"Scope\", \"email openid profile\")\r",
" }\r",
"else {\r",
" client_id = pm.environment.get(\"CLIENT_ID\");\r",
" pm.environment.set(\"Scope\", client_id + \"/.default openid profile offline_access\")\r",
"}"
""
],
"type": "text/javascript"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment