开发者

StackExchange OAuth and OpenID Authentication?

开发者 https://www.devze.com 2023-04-12 06:28 出处:网络
I have been having a goosey around the login functions of stackexchange, and I have noticed that depends on what you click, it adjusts a form with either OAuth information, or OpenID information in th

I have been having a goosey around the login functions of stackexchange, and I have noticed that depends on what you click, it adjusts a form with either OAuth information, or OpenID information in the form of the query which submits the form to a script inside of stackexchange, and I was wondering if anyone had the information for how the script would communicate with that particular service and use the returned information to login, as well as fetching additional information about that account from the se开发者_Python百科rvice.

If anyone has any scripts or snippets, PHP would be preferred.


The Janrain OpenID Libraries are pretty good. They have a few quirks when it comes to extending them, but I think for your purposes they will be fine.

Facebook does NOT do OpenID. For Facebook you will need to use a different library (and that is something I have not done, so I cannot comment on it).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号