There is a reason they are slightly more involved and in your eyes
excessive, because they ensure a level of security!

You should never accept POST data which did not originate from a form
on your site (and never accept data that is not POSTed) unless that
sites has been previously authenticated and has some sort of key/token
in place (i.e. as part of an API/RESTful app).

HTH, Paul
@phpMagpie

On Sep 15, 8:33 am, byqsri <[email protected]> wrote:
> For the thing that I must do I think that is excessive use OAuth or
> OpenID.
> Do a simple autologin  with javascript I think that is the better
> solution.
> Do CakePHP forbid to do a login from a page that isn't the loginAction
> of Auth component ?
>
> On 15 Set, 08:04, Zaky Katalan-Ezra <[email protected]> wrote:
>
>
>
>
>
>
>
> > Use oauth <http://oauth.net/>, openid <http://openid.net/> ...
>
> > On Wed, Sep 14, 2011 at 7:56 PM, byqsri <[email protected]> wrote:
> > > Hi
> > > I have my  web application in CakePHP .
> > > All works fine.
> > > Now I would do an autologin in my web application  from another site .
> > > To do this I have done a identical login form in my site and with
> > > javascrpt I post it to my web application.
> > > But it doesn't work . With this method I can't login to my web
> > > application . I always redirect tio login page.
> > > I have verify that the session is lost between the login and the
> > > redirect to initial page of my web application.
> > > Can someone help me about this?
>
> > > --
> > > Our newest site for the community: CakePHP Video Tutorials
> > >http://tv.cakephp.org
> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
> > > others with their CakePHP related questions.
>
> > > To unsubscribe from this group, send email to
> > > [email protected] For more options, visit this group
> > > athttp://groups.google.com/group/cake-php
>
> > --
> > Regards,
> > Zaky Katalan-Ezra
> > QA Administratorwww.IGeneriX.com
> > Sites.IGeneriX.com
> > 054-7762312

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to