简体   繁体   中英

PCF App to App Oauth 2 grant_type = 'client_credentials' and scope uaa.resources. Local testing

I have created an app on PCF for Oauth 2 with grant_type = 'client_credentials' and scope uaa.resources . How do I test it in local without calling the actual URLs?

It can be tested in 2 ways:

  1. Using Postman Oauth 2.0 Flow
  2. Using jwt.io

Once you get the token, pass it in the endpoint and you will be able to hit services and will be able to see json object.

(Eurekha can also be used to test)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM