Is facebook an openid provider?

2019-02-17 19:34发布

问题:

I'm confused about facebook and whether or not facebook is an openid provider like google.

According to this link: http://developers.facebook.com/blog/post/246/, facebook is an openid relying party. What does that mean, and is that different from an openid provider like google.

Basically, I am currently using lightopenid to allow users to use their openid's to log into my site, but can't seem to find a url for facebook's openid authentication to do this.

I have seen a question similar to this which confuses me because in that question, the questioner was told that facebook is not an openid provider, yet facebook documentation says something that facebook is a openid relying party...???

回答1:

Facebook is an OAuth provider. You need to use OAuth if you want to allow Facebook users to authenticate against your service.

Being an OpenID Relying Party means that Facebook accepts OpenID logins from their users, e.g. you can log in to Facebook with your Google account. Your service is also a Relying Party if it allows users to authenticate using their OpenIDs.

For more information on the terminology used by OpenID, see the OpenID Wikipedia article.