diff options
Diffstat (limited to 'development/requests-code.http')
-rw-r--r-- | development/requests-code.http | 4 |
1 files changed, 2 insertions, 2 deletions
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}} |