-->

How to pass required claims to OpenID identity pro

2019-03-14 17:43发布

问题:

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.