[英]WSO2 API Manager - Can we limit supported OAuth2 Grant Type for an API
Refer to WSO2AM documentation , I understand that we can set the authentication type for each API to one of following values. 请参阅WSO2AM文档 ,我了解我们可以将每个API的身份验证类型设置为以下值之一。
However, is it possible to specify that an API will support only a specific OAuth2 grant type? 但是,是否可以指定API仅支持特定的OAuth2授权类型?
For example, I want an API to allow only "Authorization Code" and "Implicit" , but not allow "Password" grant types. 例如,我希望API仅允许 “授权代码”和“隐式” ,但不允许 “密码”授予类型。
Thank you very much in advanced. 非常感谢您。
Thanks to @harsha89 for the solution. 感谢@ harsha89提供解决方案。 This can be configured in carbon admin console under Service Providers -> Inbound Authentication Configuration -> OAuth/OpenID Configuration, then click "Edit".
可以在Carbon Admin控制台的Service Providers->入站身份验证配置-> OAuth / OpenID Configuration中进行配置,然后单击“编辑”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.