[英]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
. 我已经在PCF上为Oauth 2创建了一个应用,具有grant_type = 'client_credentials'
和作用域uaa.resources
。 How do I test it in local without calling the actual URLs? 如何在不调用实际URL的情况下在本地进行测试?
It can be tested in 2 ways: 可以通过两种方式对其进行测试:
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. 获得令牌后,将其传递到端点,您将能够使用服务并能够看到json对象。
(Eurekha can also be used to test) (Eurekha也可以用来测试)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.