Integrate oauth 2.0 server with codeigniter - codeigniter

I want to integrate a oauth 2.0 server system to access my login externally
I found CodeIgniter-OAuth-2.0-Server in internet but that code seems to be deprecated. It would be a bad idea to integrate it with my codeigniter?
You know of some other project oauth 2.0 server for my codeigniter?
much thanks

This php server is very good and up to date https://github.com/bshaffer/oauth2-server-php, and very well documented http://bshaffer.github.io/oauth2-server-php-docs/
You have to do yourself the implementation with codeigniter, but i think that is the best way
For more information take look at : http://oauth.net/2/

Related

Codeigniter 3.x Authentication Library?

With the new Codeigniter 3.0 version what authentication libraries do you use?
Flexi auth was very good and robust with great documentation for CI 2.0 but it is old and as I can see it is discontinued. Of course it does not work out of the box with CI 3.0. I have tested it and tried to migrate it to CI 3.0 but as it uses the old ci_sessions schema I have seen that it has a lot work to be made to rewrite all the code parts that use sessions. It seems to work with file sessions and some alterations on its code though.
Community auth has a CI 3.0 version but as I have seen, it has many bugs and it is nowhere near reliable at this time. I have tested it thoroughly and it cannot work properly as it has problems with its token jar system and its cookie management. Users cannot login most of the times and it is being used as a whole third-party library at Codeigniter, which personally I don't like as it has a lot of files/folders that are time consuming to be maintained. I would prefer simple CI libraries with 1-2 models like flexi-auth. Although, I wouldn't mind Community Auth's approach if it worked properly.
Tank Auth was a reliable solution in the past but not with Codeigniter 3.0 as it has many incompatibilities too. Questions about its compatibility with CI 3.0 were asked but no airplanes in the horizon so far.
DX Auth is an old authentication library and as I can see on its github repository, there are some attempts to migrate it on CI 3.0 but I haven't been able personally to test any of them.
So, has anyone successfully integrated (or migrated) any of the previous mentioned libraries on large CI 3.0 web applications? Did you write your own? Did you stick with CI 2 until further CI 3.0 development for that matter?
Update for the down votes
This post about Authentication libraries in codeigniter was very popular and helpful. I believe that posts that help the community in that way should not be closed at least not before some helpful answers. It is not discussed anywhere before and I would really like to see the opinions of more experienced developers for that.
don't let the down votes get ya down.
check out Ion Auth
https://github.com/benedmunds/CodeIgniter-Ion-Auth
take a look at the read me, you will have to rename two files for codeigniter 3. otherwise you can see that there are recent changes to the lib. the author Ben Edmunds is one of the four developers on the new codeigniter council. http://www.codeigniter.com/help/about
Please check Dnato System Login Its Simple, Fast and Lightweight auth codeigniter.
Feature:
-Add user
-Delete user
-Ban, Unban user
-Register new user sent to email token
-Forget password
-Role user level
-Edit user profile
-Gravatar user profile
-Recaptcha by Google
-And much more
Frontend
With Bootstrap Framework.
For a simple library, I use https://github.com/trafficinc/CodeIgniter-Authit (Authit). It is very simple so I can do a lot of customizations to it or just leave it be.
check this library.that is so nice.and with many features
login / logout
Login DDoS Protection
register and signup via email. (send verification code to your email)
users can send private message to other users
user group
create permissions and access control
error in other language
this library for CI2. but if you search about this, you can find lib for CI3
http://codeigniter-aauth-test.readthedocs.io

Ruby integration for Joomla using com_api

I am creating an application which uses REST API to access web-services of WordPress and Joomla.
I got success to do this with WordPress but I am unable to do this with Joomla-3.
I want to make a REST API call using Ruby Net::Http to access Joomla powered site. I want to access content of Joomla-3 enabled site using REST API. I found com_api but I don't know how to use it.
Please can anyone help me how to connect Ruby on Rails and Joomla 3 with each other.
I have developed a commercial Joomla package which combines an admin component with an extensible plugin architecture to expand service capabilities. You may refer to may other responses for more information:
REST API for Joomla 3.0
How to Install and use joomla rest api step by step
A key feature of this extension is that it is built upon the Slim PHP micro-framework in order to take advantage of a robust, standards-compliant service route architecture. This allows Joomla to take care of login authentication and group permissions, while Slim exposes routes for GET, POST, PUT, DELETE, etc. Another advantage is that Joomla allows for selective activation and permissioning for different web service plugins.
Installation, configuration and API docs can be found here:
http://learn.getcapi.org
For a general product overview, please visit http://getcapi.org.

Adding OAuth Server Support to PyroCMS / Codeigniter?

I am looking for a way to extend PyroCMS into an OAuth2.0 server. I want my users to be able to log onto my "customer" websites using a central authentication system.
I looked into https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server but I am having trouble in planning how to integrate this with PyroCMS. I don't want to touch the core authentication so I am thinking of building a module that does this ontop of current authentication system.
Any tips/ideas on how to do this?
I can see that there is already an OAuth module for pyrocms here
which covers OAuth 1 and OAuth 2.0

Tutorial for User Autentication using Dart

I'm traying to develop a web app using Dart for both sever and client.
Anyone know if exist any tutorial for implement User Authentication using the features included in Dart library ( Http Server, Session, Cookie )?
I believe you can use the rikulo security addon.
You can find here is a good example.

OpenId and OpenAuth with mvc application

I need to login with facebookx, twitter, gmail, openid, yahoo and other site in MVC3.
I already search for Openauth and openID but could not get the proper solution. come solution run and went to the site but never come back with identty.
So can i get the proper solution in running mode with MVC3. Also please provide me the dll and also nuget template or packages details.
Can i test with localhost for openauth/openid?
In short, Yes you can test and host on local host.
What you need to focus is a Tokens that are managed in OAuth library provider of your choice. Just follow the wiki and some tutorial and you will be fine.
As a start point look at the dotnetopenaut.net source library that brings OpenID, OAuth, and ICard capabilities to the Microsoft .NET Framework.
Reference: look at this post for more details: OpenID and OAuth using DotNetOpenAuth in ASP.NET MVC

Resources