سؤال

I have my own CodeIgniter webapp.

I want to add to my site the multi-authorization from Facebook, Google, Twitter and OpenID sites. (like here - https://stackoverflow.com/users/login)

Is it possible with CodeIgniter?

P.S. I've found some extensions for CI, but they are single and there is no way to merge them.

هل كانت مفيدة؟

المحلول

What is used in Stackoverflow is called OpenID. Knowing the name, you can search for OpenID+CI implementations and you'll find a couple of libraries out there, and I guess this is the latest one.

نصائح أخرى

Facebook uses oAuth2 Twitter uses oAuth StackOverflow uses OpenID.

Merging 3 entirely different protocols is not easy work, which is why no easy solution exists. You'll have to get your hands dirty for this sadly.

The closest you'll get is:

https://github.com/elliothaughin/socialize

That is not tested and I'm not sure if Elliot ever got around to finishing it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top