Blogger OpenID 端点是如何解析的?
在提供 OpenID 的网站中,我通常使用我的域名登录,如下所示:
底层框架能够解析我插入到如下 URL 的域:
是硬编码的内容还是有在将用户重定向到 Blogger 登录页面之前发现登录 Url 的 Http 请求?
In sites providing OpenID, I usually logging in using my domain like this:
The underlying framework is able to resolve the domain I've inserted to a Url like this:
Is it something hard-coded or is there an Http request to discover the login Url before redirecting the user to the Blogger login page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Blogger 将您的博客的链接添加到其提供的 html 头部的 OpenID 提供商 url。
http://bloggerindraft.blogspot.com/2008 /01/using-bloggers-openid-with-any-url.html
和
http://www.digitalpurview.com/delegation-use-custom-domain-for-openid/
这只是支持委派的一种方式。也可以使用 dns 条目来完成,与 http 调用相比,需要较低级别的编程来解析。
调试代理应用程序可以帮助准确演示其工作原理。我更喜欢 Charles,但像 Fiddler 这样的其他人也工作得很好。
http://www.charlesproxy.com/
Blogger adds links from your blog to the OpenID provider url in the head of the html it serves.
http://bloggerindraft.blogspot.com/2008/01/using-bloggers-openid-with-any-url.html
and
http://www.digitalpurview.com/delegation-use-custom-domain-for-openid/
This is just one way to support delegation though. It can also be done with dns entries which require lower level programming to resolve than an http call.
A debugging proxy application could help in demonstrating exactly how this works. I prefer Charles but others like Fiddler work fine too.
http://www.charlesproxy.com/
您是否在 blogger 上托管您的域名?对于托管域,Blogger 不会返回包含
的整个 HTML(如 Samuel 建议的那样),而是直接向来自中继方(在本例中为 StackOveflow)的 OpenID 发现请求提供 XRDS 发现信息。
如果您正在考虑为托管域切换 OpenID 提供商,唯一的方法就是移动托管。我不认为 Blogger 提供了一种方法让您分配您想要进行身份验证的 OpenID OP。
Are you hosting your domain on blogger? For hosted domain, instead of return entire HTML containing
<link>
(as Samuel suggests), Blogger serve XRDS discovery information directly to OpenID discovery requests that come from Relay Parties (in this case, StackOveflow).If you are thinking about switch OpenID Provider for your hosted domain, the only way to do it is to move the hosting. I don't think Blogger provide a way for you do assign the OpenID OP you want to authenticate to.