aboutsummaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/config/onap-realm.json2
-rw-r--r--development/requests-code.http4
-rw-r--r--development/requests-idea.http4
3 files changed, 5 insertions, 5 deletions
diff --git a/development/config/onap-realm.json b/development/config/onap-realm.json
index fab464f..387e423 100644
--- a/development/config/onap-realm.json
+++ b/development/config/onap-realm.json
@@ -223,6 +223,6 @@
}
],
"attributes": {
- "frontendUrl": "http://localhost:8080/auth/"
+ "frontendUrl": "http://localhost:8080/"
}
}
diff --git a/development/requests-code.http b/development/requests-code.http
index cec50e9..607428c 100644
--- a/development/requests-code.http
+++ b/development/requests-code.http
@@ -3,7 +3,7 @@
# @name login
@access_token = {{login.response.body.access_token}}
@id_token = {{login.response.body.id_token}}
-POST http://localhost:8080/auth/realms/ONAP/protocol/openid-connect/token
+POST http://localhost:8080/realms/ONAP/protocol/openid-connect/token
Content-Type: application/x-www-form-urlencoded
Authorization: Basic admin:password
@@ -13,7 +13,7 @@ grant_type=password&scope=openid&client_id=portal-app&username=onap-admin&passwo
# @name userinfo
@user_id = {{userinfo.response.body.sub}}
@user_name = {{userinfo.response.body.preferred_username}}
-GET http://localhost:8080/auth/realms/ONAP/protocol/openid-connect/userinfo
+GET http://localhost:8080/realms/ONAP/protocol/openid-connect/userinfo
Authorization: Bearer {{access_token}}
X-Auth-Identity: Bearer {{id_token}}
diff --git a/development/requests-idea.http b/development/requests-idea.http
index 780fbe8..66284cd 100644
--- a/development/requests-idea.http
+++ b/development/requests-idea.http
@@ -1,5 +1,5 @@
# To be used with IntelliJ IDEA
-POST http://localhost:8080/auth/realms/ONAP/protocol/openid-connect/token
+POST http://localhost:8080/realms/ONAP/protocol/openid-connect/token
Content-Type: application/x-www-form-urlencoded
client_id=portal-app&client_secret=&scope=openid&grant_type=password&username=onap-admin&password=password
@@ -10,7 +10,7 @@ client_id=portal-app&client_secret=&scope=openid&grant_type=password&username=on
###
-GET http://localhost:8080/auth/realms/ONAP/protocol/openid-connect/userinfo
+GET http://localhost:8080/realms/ONAP/protocol/openid-connect/userinfo
Authorization: Bearer {{access_token}}
X-Auth-Identity: Bearer {{id_token}}