更新时间:2022-12-04 15:25:49
感谢所有发表评论并试图找出我提到的问题的解决方案的人。我已经解决了这个问题。当我尝试通过在配置中进行排列和组合多次登录时,身份验证对我来说被阻止了。因此,我无法登录并生成访问令牌。我可以通过更改 IS 中的 identity.xml 文件中的标记来解决该问题。
将UserOperationEventListener启用从 true更改为 false。
Thanks for everyone who commented and tried to figure out the solution for the issue i mentioned. I got the resolution for the issue . As i tried multiple times to login by doing permutations and combinations in configurations, authentication was blocked for me. As a reason, i couldn't login and generate access token . I was able to resolve it by changing a flag in identity.xml file inside IS . Changed the UserOperationEventListener enabling from 'true' to 'false' .
之前:
<EventListener enable="true" name="org.wso2.carbon.identity.governance.listener.IdentityMgtEventListener" orderId="95" type="org.wso2.carbon.user.core.listener.UserOperationEventListener"/>
之后:
<EventListener enable="false" name="org.wso2.carbon.identity.governance.listener.IdentityMgtEventListener" orderId="95" type="org.wso2.carbon.user.core.listener.UserOperationEventListener"/>
此更改使我可以阻止无效的身份验证检查。无论如何,我们从代码方面添加了该支票。
This change allowed me to block the invalid authentication check. We are anyway adding that check from our code side.