如何通过必需的声明与Azure的ACS OpenID身份提供者? [英] How to pass required claims to OpenID identity provider with Azure ACS?

查看:214
本文介绍了如何通过必需的声明与Azure的ACS OpenID身份提供者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在请求寻找网址的Azure ACS产生,我可以看到ACS包括电子邮件,全名,名字和姓氏按要求索赔。此外,全称属性映射到 http://axschema.org/namePerson 声明类型。

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.

现在我已经加入 myOpenID来说作为身份提供。 myOpenID来说不承认axschema说法,但我已经成功地检索 http://schema.openid.net/namePerson 从myOpenID来说。

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.

问题是,虽然,即使我添加 http://schema.openid.net/namePerson 索赔相关者myOpenID规则要求发行人在ACS,索赔将不包含在ACS产生的请求URL。

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.

有没有配置对这一索赔请求的任何(隐藏)的方式来要求?甚至更好,改变内置映射使用 schema.openid.net/namePerson 类型,而不是 axschema.org/namePerson

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 ?

推荐答案

Azure中获得通过属性交换索赔其中者myOpenID 不按这个<一个不支持href=\"http://blogs.msdn.com/b/vbertocci/archive/2011/05/19/adding-a-custom-openid-provider-to-acs-with-just-one-line-of-powershell-$c$c.aspx\"相对=nofollow>博客文章由维托里奥。

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

有关于这一专题的<一个一个有趣的讨论href=\"http://social.msdn.microsoft.com/Forums/en-US/windowsazuresecurity/thread/e24cf462-4ba5-4720-9718-40a6ad205b2c\"相对=nofollow>在这里在MSDN论坛。

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

这篇关于如何通过必需的声明与Azure的ACS OpenID身份提供者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆