We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Sharing EE login/session with another app

Development and Programming

RipeMedia's avatar
RipeMedia
62 posts
14 years ago
RipeMedia's avatar RipeMedia

We are creating an application using the CAKE-PHP framework I am would like to know if there are some tips for integrating EE members/logins with other apps. Specifically, here is what I would like to do:

  1. Use EE as the member management hub and as the CMS for the public-facing site
  2. Use the EE Membrr addon to handle member subscriptions and manage who has access to the app based on current subscriptions
  3. Unify the log in so that when a user is logged in, they have access to their EE account and all that comes with that, as well as access to the app itself.

Any thoughts on how to accomplish the above? Thanks for your help.

-Chris

       
Bjørn Børresen's avatar
Bjørn Børresen
629 posts
14 years ago
Bjørn Børresen's avatar Bjørn Børresen

EE has member login hooks: http://ellislab.com/expressionengine/user-guide/development/extension_hooks/module/member_auth/index.html

Use these to set the cookies/session/database stuff needed for the other app when the user logs in. Then always log in / log out using EE.

       
Shane Eckert's avatar
Shane Eckert
7,174 posts
14 years ago
Shane Eckert's avatar Shane Eckert

Hello RipeMedia,

Thank you for your question.

It looks like Bjørn has given you a great starting point using the login hooks offered by ExpressionEngine. The rest of your questions look like they would would work.

I am going to move this thread out of Pre-Sales and over to Development and Programming where you will get more eyes on this and some more input and ideas.

Let me know if there is anything else you need.

Thank you,

       
RipeMedia's avatar
RipeMedia
62 posts
14 years ago
RipeMedia's avatar RipeMedia

Cool. Thanks all. The hooks seem like exactly what I need, though I am unclear how to use them. Does this mean we should create a custom extension that would handle the multi-login / logout?

       
Bjørn Børresen's avatar
Bjørn Børresen
629 posts
14 years ago
Bjørn Børresen's avatar Bjørn Børresen

Yepp, that’s what it means. You can use a tool like http://pkg.io to get started, but yes it would require some coding experience to get it done.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.