othAuth issue, believe begins with auto_redirect

2007-11-29 Thread clrockwell
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

Re: othAuth Issue

2006-12-21 Thread :uic
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

Re: othAuth Issue

2006-12-21 Thread 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',

Re: othAuth Issue

2006-12-21 Thread :uic
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

Re: othAuth Issue

2006-12-21 Thread devon
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 :

othAuth Issue

2006-12-20 Thread devon
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