Commit 0e6e4e4f authored by Denis Karpenok (EPAM)'s avatar Denis Karpenok (EPAM)
Browse files

Entitlements pre-request for refresh

parent cffa0fd6
Pipeline #3830 failed with stages
in 8 seconds
......@@ -39,7 +39,15 @@
"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"
}
......
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