WSO2 Identity Server 5.1.0 not returning user claims in SAML Response

会有一股神秘感。 提交于 2019-12-07 16:58:59

问题


While trying out the new version of WSO2 Identity Server 5.1.0 I'm having problems returning claims in the SAML response. While this worked in WSO2 IS 5.0.0 SP1. I've mapped the required claims and added them to my SP, also I configured the SP to always return the user attributes.

I've configured the SP claim mapping:

My SAML configuration:

Any help is greatly appreciated. I'm getting the feeling this might be a bug.

EDIT: In WSO2 5.1.0 it is required to add the Attribute Consuming Service Index to the SAML Request. In WSO2 5.0.0 SP1 it worked even without setting this value in the SAML Request.


回答1:


If I got you correctly, You can authenticate from IS without any errors, but didn't get claims on SAML response.

I have tried this with Travelocity sample. It is working as expected. I got the user claims in the SAML response. According to the screen shots that you have attached, you have done the configurations correctly. Please check & verify that you have values on these mapped claims. If there is no values in user's profile, claims will not be in SAML response. You can check this with SSO Tracer or SAML Tracer.



来源:https://stackoverflow.com/questions/34849993/wso2-identity-server-5-1-0-not-returning-user-claims-in-saml-response

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!