문제

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