简体   繁体   English

WSO2 API管理器-我们可以限制API支持的OAuth2授权类型吗

[英]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的身份验证类型设置为以下值之一。

  1. None 没有
  2. Application 应用
  3. Application User 应用用户
  4. Application and Application User 应用程序和应用程序用户

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.

相关问题 WSO2 Api Manager - 调用 API(oauth2 授权授予代码)时绕过登录页面 - WSO2 Api Manager - bypass sign in page when invoking API (oauth2 authorization grant code) 如何使用WSO2 API Manager实现OAuth2授权 - How to implement OAuth2 authorization with WSO2 API Manager CORS无法在WSO2 API管理器中的oAuth2 UserInfo端点上工作 - CORS is not working on oAuth2 UserInfo endpoint in WSO2 API Manager oAuth2 - WSO2 API Manager和Identity Server集成 - oAuth2 - WSO2 API Manager and Identity Server Integration 通过WSO2 API管理器访问oauth2安全服务 - Accessing a oauth2 secured service via WSO2 API Manager 当使用身份服务器设置sso时,Oauth资源所有者密码凭证授予类型与WSO2 API管理器 - Oauth resource owner password credentials grant type with WSO2 API manager when sso is setup with identity server 生成客户端证书授予类型的O​​Auth令牌失败-WSO2 API Manager 1.7.0 - Generating OAuth Token of Client Credential Grant Type Fails - WSO2 API Manager 1.7.0 wso2 API管理器的SAML扩展授予类型配置 - SAML extension grant type configuration of wso2 api manager wso2 api管理器1.7 / oauth2 / userinfo api引发NullPointerException - wso2 api manager 1.7 /oauth2/userinfo api throws NullPointerException 如何在WSO2上测试oauth2的授予类型授权代码? - How can I test the grant type authorization code for oauth2 on WSO2?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM