OpenID 身份验证流程
我正在研究OpenID身份验证过程,我以Google为例。
根据Google的文档,该过程有9个步骤 http://code.google.com/intl /zh-TW/apis/accounts/docs/OpenID.html#AuthProcess
我想知道步骤 3 和步骤 4 的目的。如果直接知道登录页面地址可以跳过吗?谁能给我解释一下吗,谢谢。
I am studying the OpenID authentication process and I use Google as an example.
From the documentation by Google, there are 9 steps in the process
http://code.google.com/intl/zh-TW/apis/accounts/docs/OpenID.html#AuthProcess
I am wondering the purpose of Step 3 and Step4. Can it be skipped if I know the login-page address directly? Could anyone explain it to me, thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你完全可以做到这一点。只要您知道端点,就无需进行此发现。问题是如果他们改变了它,你将不得不重写你的代码。这取决于你,你想长期编码,还是不介意在需要时更改它。
当然,我所说的只有在不改变获取端点的方式的情况下才有效。
You could totally do that. As long as you know the endpoint, there's no need to do this discovery. Problem is if they change it, you'll have to rewrite your code in consequence. It's up to you, do you want to code for a long term period, or don't mind to change it if it's needed.
And naturally, what I'm saying only work if they don't change the way you get the endpoint.