简体   繁体   English

找不到策略WSO2 Identity Server 5.3.0

[英]Policy not found WSO2 Identity Server 5.3.0

I'm trying to use WSO2 Identity Server 5.3.0 from source that is running properly. 我正在尝试从运行正常的源使用WSO2 Identity Server 5.3.0。

I already configured Service Provider using SAML 2.0 on tenant and it is working properly. 我已经在租户上使用SAML 2.0配置了服务提供程序,并且它可以正常工作。 The option "Enable Authorization" is checked (Service Provider > Local & Outbound Authentication Configuration) 选中“启用授权”选项(服务提供商>本地和出站身份验证配置)

Now, I need to apply some access rules inside this tenant. 现在,我需要在此租户中应用一些访问规则。 Based on this, I'm creating a policy following this guide. 基于此,我正在按照本指南创建策略。 https://docs.wso2.com/display/IS530/Configuring+Access+Control+Policy+for+a+Service+Provider https://docs.wso2.com/display/IS530/Configuring+Access+Control+Policy+for+a+Service+Provider

The policy created just grant or deny access based on user role. 创建的策略仅基于用户角色授予或拒绝访问。

But when I try to log in with the user we got some message: AUTHORIZATION FAILED, You are not authorized to login to this application. 但是,当我尝试用该用户登录时,我们收到一些消息:授权失败,您无权登录此应用程序。

I made many changes trying to achieve correct rules, but isn't working properly. 我为实现正确的规则进行了许多更改,但工作不正常。

What can I do to make this work properly ? 我该怎么做才能使其正常工作?

Thanks 谢谢

Are you using a vanilla 5.3.0 dist? 您使用的是香草5.3.0版吗? There is a known issue with tenants, and it is fixed now in public branch and will be available for 5.4.0. 租户存在一个已知问题 ,该问题现已在公共分支机构中修复,将在5.4.0中可用。 The fix is also available as an update at WUM for IS 5.3.0. 该修补程序也可以作为IS 5.3.0的WUM更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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