Hello, I am implementing othAuth and run into issues when using
$auto_redirect = true; please note that after each test, I clear cache
and cookies, then test again.
1st situation: $auto_redirect = true
with proper credentials, can login in fine at user/login and
directs to correct page
Hi devon,
looks like your user data is not being passed to the session...thats
why when the lock function is trying to determine wheter the user is
authorized or not its not able to find this data in the session.
Have you made the models and its relationships? (usermodel and
groupmodel)
devon
Hello uic,
Thanks for your reply. If I understand you correctly, I have made
models for user, group.
user:
?php
class User extends AppModel
{
var $name = 'User';
var $hasOne = array('Group' =
array('className'= 'Group',
i would try to check at some point in the component what part of the
process is failing.
first i would try to print session variables after connecting to the
database in login function :
$this-Session-write($this-sesskey, $sessdata);
//--- just here, before it returs true and try to
Thanks uic, I'll give that a shot this afternoon and let you know what
I find out.
i would try to check at some point in the component what part of the
process is failing.
first i would try to print session variables after connecting to the
database in login function :
Hello CakePHP Community..
I'm new to the framework and excited to get some work done for my
clients. It looks to be a very good framework with improving
documentation. On to my issue..
Traversing through this group and on IRC I know this topic has come up
many times, but I must ask for an