cyberhicham
cyberhicham

Reputation: 493

OpenID for CodeIgniter Apps

So I'm building a cloud platform to handle a bunch of CodeIgniter Apps.
The idea is to share credentials between those apps, so the user can purchase App1 and App2 with the same account.
One process can be described like :

The authentication on http://myapps.tld is coded from scratch (very basic one).
I think that a way of achieving this is to use an OpenID mechanism built on http://openid.myapps.tld and whenever a user have the need to authenticate with an app from the platform he will be redirected to openid.myapps.tld to confirm/verify his credentials and redirected back to his app completely identified.

Is OpenID the right choice for me ? can I rely on it to handle authentications on the main site and the different apps ?

If so, I've seen a library or two for implementing OpenID on CI 2 but if you have some tips/tutorials, I'll appreciate the sharing :)

I'm thinking also of adding the same OpenID mechanism for 'forum/wiki/blog' tools/services so again the user/client wouldn't have to create multiple accounts to use whatever service/app on the platform.

Thanks in advance !

Upvotes: 0

Views: 1521

Answers (1)

Timmytjc
Timmytjc

Reputation: 258

OpenID is the way to go. There are a couple of sparks on getsparks.org:

The latest oauth2 is the probably the best option. http://getsparks.org/packages/oauth2/versions/HEAD/show

Upvotes: 1

Related Questions