hi there! please share this stuff, i have a monstrous size blog and
small but very important app on cakephp, i also would like to use your
solution.

On 12 дек 2009, 18:40, jgadbois <jgadb...@gmail.com> wrote:
> So I got it working (still not sure if it's the best way).  I made a
> WP Authentication Component that copies Wordpress's mechanism for
> authentication (does a bunch of hash stuff on a cookie).  I also made
> it work with a CakePHP User model that accesses the WP user database
> so that I can use that for more fine grained permissions down the
> road.
>
> Thanks,
> John
>
> On Dec 12, 12:50 am, "Dr. Loboto" <drlob...@gmail.com> wrote:
>
> > One my collegue did it from other side: let user authorize from
> > CakePHP site part only and catch cake session in wordpress.
>
> > On Dec 12, 8:47 am, jgadbois <jgadb...@gmail.com> wrote:
>
> > > I have a Wordpress site with a lot of content that I want to integrate
> > > CakePHP into.  I want to required users to be logged in to be able to
> > > use the application so I want to integrate the CakePHP Auth component
> > > with Wordpress.  I've thought of a couple possible ways of doing this.
>
> > > 1.  Create a WP plugin that calls the User login method in the cakePHP
> > > controller, then redirects from within CakePHP to wherever Wordpress
> > > would normally send the user.  This seems possible, but I'm not sure
> > > how to handle the redirection properly.
>
> > > 2.  Somehow automatically log in the user to CakePHP after WP by
> > > setting the approriate Auth session variables.
>
> > > 3.  Override CakePHP's authorization check somehow by just checking
> > > the WP session.
>
> > > I'm not 100% sure on how to do any of these yet, but I'm sure one
> > > would work.  Anyone have any suggestions?  I'm looking for the
> > > preferred approach plus some details on how to implement as I'm not an
> > > Auth component expert by any means.
>
> > > Thanks,
> > > John

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

Reply via email to