How to pass required claims to OpenID identity provider with Azure ACS?

为君一笑 提交于 2019-12-20 11:13:11

问题


When looking at the request urls that Azure ACS generates I can see that ACS includes email, fullname, firstname and lastname as required claims. Further, the fullname attribute is mapped to the http://axschema.org/namePerson claim type.

Now I have added MyOpenID as an Identity Provider. MyOpenID does not recognize the axschema claim, but I have successfully retrieved http://schema.openid.net/namePerson from MyOpenID.

The problem is though, even if I add the http://schema.openid.net/namePerson claim as a rule related to the MyOpenID Claim Issuer in ACS, the claim will not be included in the request url generated by ACS.

Is there any (hidden) way of configuring a request for this claim to be required? Or even better, change the built-in mapping to use the schema.openid.net/namePerson type instead of axschema.org/namePerson ?


回答1:


Azure gets claims via Attribute Exchange which myOpenID doesn't support according to this blog post by Vittorio.

There's an interesting discussion on the topic over here on the msdn forums.



来源:https://stackoverflow.com/questions/6814624/how-to-pass-required-claims-to-openid-identity-provider-with-azure-acs

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