facebook with openid

你说的曾经没有我的故事 提交于 2019-12-24 00:52:07

问题


Referencing Is Facebook an OpenID provider? here. This is kind of an additional question based on it.

I have also read the article at : What is the "openid" url of facebook? - but I am still pretty confused on the whole ordeal. The goal is for people who use facebook to easily login to our website, not to neccessarily integrate with facebook and add things to it (yet). I have read the documentation on facebook connect and am still having trouble grasping exactly what we need to do to accomplish this.

I notice that it says that facebook accepts openid logins - so in theory someone with a facebook account could login to a site that took other openid logins, correct? Or do I have to code a separate 'facebookconnect' system just to accept logins from facebook accounts?


回答1:


There is a difference between an OpenID provider (who gives you a URL you can log into other sites with) and an OpenID consumer (who lets you log into their site using an OpenID URL).

Someone who "accepts openid logins" sounds like a consumer, but your description "someone with a facebook account could login to a site that took other openid logins" is describing a provider.

There's nothing stopping a site being both a consumer and a provider, but as far as I know, Facebook isn't one.




回答2:


You have to code a separate "Facebook Connect" system just to accept logins from Facebook accounts, they do not use the OpenID standard.

RPX is a commercial service that offers a way to cut down on some of the confusion.



来源:https://stackoverflow.com/questions/2593620/facebook-with-openid

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