OpenID endpoints

﹥>﹥吖頭↗ 提交于 2019-11-29 09:14:37

问题


I would like to allow users to log in into my website with OpenID. So far I have integrated Google and Yahoo.

What other popular services are offering OpenID login endpoints? I'm particulary interested in Windows Live (but from what I've seen they recently closed the endpoint, and I couldn't find any information about new one). What about social websites, like Facebook or Twitter?

I have seen the OpenID Directory but I didn't find any useful information.


回答1:


take a look what stackoverflow is offering.

https://stackoverflow.com/users/login

sadly no idea what urls you have to use, but a little choice what is popular so far.

regards




回答2:


Here are some OpenId endpoints :

  • Google : https://www.google.com/accounts/o8/id
  • Google profile : http://www.google.com/profiles/~YOURUSERNAME
  • Yahoo : https://me.yahoo.com
  • AOL : https://www.aol.com
  • Wordpress : http://YOURBLOG.wordpress.com
  • LiveJournal : http://www.livejournal.com/openid/server.bml

These following services are not OpenId providers and have their own authentication flow :

  • Facebook : see a Stackoverflow answer about how to implement Facebook authentication in PHP
  • Twitter : see a tutorial about how to implement Twitter authentication in PHP



回答3:


Well if you allow the user to input their own openID url then they can use ANY endpoint. That's the whole point of openID: if you support one endpoint, you support them all. Like StackOverflow, it is best to cover a number of the most popular endpoints so that inputting the openID url is easier (for example, most people don't know the Google OpenID url even if they have an account). You should definitely cover Yahoo, WordPress, Blogger, AOL and MyOpenId like this. But if people like me, who have their own personalised openID url come to your site, they should have the option to use that one.

The OpenID specification actually requires that you provide the URL input box. The input element should also have the OpenID logo as the background image.




回答4:


Actually, it shouldn't matter since the user will supply you with the URL to ask. All OpenID providers work the same way, so the URL should be all you need (see http://openid.net/)




回答5:


check out SocialAuth or JOpenId for some cool java-based APIs



来源:https://stackoverflow.com/questions/3132048/openid-endpoints

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