[英]WSO2 IS Role of Facebook user in SAML response
I'm using Spring Security SAML with WSO2 IS. 我正在将Spring Security SAML与WSO2 IS一起使用。 When I login with Facebook and get SAML response from WSO2 IS in my application I haven't role attribute in Authentication object. 当我登录Facebook并在应用程序中从WSO2 IS获得SAML响应时,我在Authentication对象中没有角色属性。
For example, when I login with basic auth, then I have role attribute :| 例如,当我使用基本身份验证登录时,我具有角色属性:|
Claims in Service Provider are configured like below: 服务提供者中的声明配置如下:
Thank you for any help! 感谢您的任何帮助!
I have connected custom PostgreSQL user store and for some reason in table um_user_role
I haven't relation between role and Facebook user, but in carbon IS
it is. 我已经连接了自定义PostgreSQL用户存储,并且出于某种原因,在表um_user_role
,角色与Facebook用户之间没有关系,但是在carbon IS
是这样。 :\\ :\\
When I added relation manually into this table all works fine. 当我手动将关系添加到此表中时,一切正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.