Re: Multiple apps / one login

2011-04-23 Thread fly2279
LunarDraco,

Can you share more details on how you do this? I'd like to do the exact same 
thing.

Anyone else get this kind of thing to work?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Multiple apps / one login

2010-10-26 Thread LunarDraco
I solved this problem by having one app handle all of my logins and
then redirect after authentication to one or more of the other sites.
In the redirect I pass the users temporary token to the second site.
In all the sites during the app.beforefilter I check for this passed
params decode it and read from the model the user that was passed in
and then I set auth true and skip that sites login.

This technique has worked well across multiple servers and even across
technologies meaning going from CakePHP on a linux box to a .Net
server on Windows and later back to the linux box.

>From the users point of view they have no idea how many times they
switch from one server to another unless they are really watching the
url.


On Oct 24, 2:56 am, hapoo  wrote:
> I've experimented and successfully implemented Auth and Acl on one
> app. However I want to design a site with multiple independent apps
> which all share one login system/DB. For example the main site
> (example.com) will be one app. The blogs (example.com/blog) will be
> another app, and the recipe page (example.com/recipe) will be yet
> another app. But I want them all to use a single login and act like
> one coherent site. Is there any way to do this? Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Multiple apps / one login

2010-10-24 Thread Zaky Katalan-Ezra
I think plugins is what you are looking for.
http://book.cakephp.org/view//Plugins

If each site installed on different server you may want to use openid for
single sign on.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Multiple apps / one login

2010-10-24 Thread hapoo
I've experimented and successfully implemented Auth and Acl on one
app. However I want to design a site with multiple independent apps
which all share one login system/DB. For example the main site
(example.com) will be one app. The blogs (example.com/blog) will be
another app, and the recipe page (example.com/recipe) will be yet
another app. But I want them all to use a single login and act like
one coherent site. Is there any way to do this? Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en