Multi authorization with CodeIgniter - codeigniter

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.

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.

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.

Related

How to put a Google login on my main login form as an option?

I just want to put an Google login on my main form login as an Alternative way of logging in to the Mob app that i was developing.I want on my main fomr to have a (Login with Google) but i dont have any idea how to do it. is there anyone can help me? this is only for educational purposes, i just want to enhance my programming skills.
I tried searching and Firebase auth always appears.
Firebase Auth is actually free to use for the auth section so it's not a bad option.
There are a lot of moving parts with this and learning by using Firebase as your core is a great way to get introduced without handling so much of the complications. If this is just for education my personal recommendation would be to learn Firebase methods first and then look into replacing it with your own implementation.
However, if you want to just use Google Auth using a native plugin and nothing else then there is a tutorial on IonicThemes.com which covers how to set it up.
You can read it here if you're fast:
https://ionicthemes.com/tutorials/about/ionic-google-login
This question will probably get deleted as it doesn't meet the guidelines to just post links to tutorials, but it's a lengthy process so I don't know what else StackOverflow expects me to offer in this instance. Perhaps just to vote to close your question.

DNN 8 website and a existing webapi how can I work properly?

I have a DNN website and also a WebAPi.
In the past both wasn't related.
I'm finding a way to do something that related them.
Such as getting all users in DNN website,Create a user,Change password via WebAPI.
DNN has its own implementation of WebAPI allowing you to create extensions that are then exposed with WebAPI.
The implementation of this process is more complicated than can be answered in a simple StackOverflow post, but the DNN Wiki Information should help get you going. Once you get going you can ask more specific questions here.

xamarin.oauth /xamarin forms Facebook linkedin google authentification

I am new in Xamarin ,I am looking for a way to put facebook/linkedin/google authentication. I have looked at many tutorials but none of them is recent and there are not working well or there are obsolete.
Here is the tutorials, I have found: click to seeing the page
Do you know a recent and better one ?
There are many samples about how to authenticate users in facebook or google. And I find your article here in MSDN with a sample which runs in VS2015. Even though it's a little bit out of date, you can also find something useful.
You can also refer to the official documentation of Xamarin.OAuth and the sample here. Modify the information in Constants to your own's. This article specify how to register in Google and get the Client ID and Redirect URL.
You can read it more carefully then create your own UI to achieve authentication.

Rails4. Contacts importer from famous providers (Gmail, Facebook...)

Problem
Need to implement contacts importer/chooser on Rails4 project. Needed providers - Gmail, Facebook, Yahoo, LinkedIn, Outlook.
Researches
Tried omnicontacts and contacts gems but both has some limitations and maybe outdated for some providers.
There is commercial project which do this for you - CloudSponge , but I prefer open source.
Current Status
Implemented Linkedin contacts import using devise, omniauth, omniauth-linkedin.
Implemented Gmail contacts import using omnicontatcs.
Failed with other providers.
Queastion
Is there any other all-in-one solutions (maybe I missed something) which could be useful for my issue or I have to implement all things from scratch, maybe using already outdated gems/libs ?
Another thing I was thinking, maybe this task better to solve on client side using javascript libraries?
If you to try implement contacts importer in a do-it-youself way, the first goal will be proper learn OAuth2 and all the 4 authentication flows. I like this blog post explanation.
Then if you want to use a client-side-only solution for OAuth2, you'll need to use the Implicit flow.
For Google Contacts, you can find Implicit flow documentation here.
Disclaimer: I work for CloudSponge, and I'm a big fan of free/open-source solutions too. I even use Linux as my desktop :)

Google OpenID-OAuth hybrid implementation on Heroku

I am looking for a step by step guide to implement Google OpenID+OAuth in our Webapplication running on Heroku for getting calendar/contacts data. I have looked at many documents and Q&A about this but still can't make things work and was wondering if anyone here knew of a place which describes the plugins, gems needed and a step by step guide. The reason for using the hybrid is that we need a permanent token from Google that we can track for users across multiple sessions.
Truly appreciate any help.
Best,
_KK
You cannot use Google's OpenID to access other service. So you will need to ask user to provide username/password when you want to access calendar (make sure it's SSL-ed!).
So for calendar you can use: GCal4Ruby.
But in general you can access user data using official Google GData gem.

Resources