Commit 14f0bbf0 authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

Change to refersh_token test script for ibm platform and also correct...

Change to refersh_token test script for ibm platform and also correct ENTITLEMENTS_HOST and auth_url for ibm environment file
parent 4fc4fabe
Pipeline #5473 failed with stages
in 8 seconds
......@@ -64,7 +64,7 @@
},
{
"key": "ENTITLEMENTS_HOST",
"value": "ado-prod-jnw-jnwijvfg-au-entitlements.azurewebsites.net",
"value": "entitlements-r2-demo.osdu-qa-a1c3eaf78a86806e299f5f3f207556f0-0000.us-south.containers.appdomain.cloud",
"enabled": true
},
{
......@@ -314,7 +314,7 @@
},
{
"key": "auth_url",
"value": "https://login.microsoftonline.com/58975fd3-4977-44d0-bea8-37af0baac100/oauth2/v2.0/authorize",
"value": "https://keycloak-tls-keycloak.osdu-qa-a1c3eaf78a86806e299f5f3f207556f0-0000.us-south.containers.appdomain.cloud/auth/realms/OSDU/protocol/openid-connect/auth",
"enabled": true
},
{
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\"|| cp == \"IBM\" ) {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
......@@ -22,7 +22,7 @@
"",
"var data = JSON.parse(responseBody)",
"pm.environment.set(\"access_token\", data.access_token);",
"if (cp == \"AWS\") {",
"if (cp == \"AWS\" || cp == \"IBM\") {",
" pm.environment.set(\"id_token\", data.id_token);",
"}",
"// Uncomment if server returns a new refresh_token,",
......
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