Sorry I missed that. I suppose it's possible that this call is the issue.. But it was working just fine before I tried to add ACL. sub authenticateOpenid :Path('openid') :Args(0) { my($self, $c) = @_; $c->log->debug( "authenticateOpenID" ); if ( $c->authenticate({}, 'openid') ){ ## Check if the user's profile already exists ## If not create a new one. if ( !$c->forward('userVerify') ){ $c->forward("/login/userCreate" ); } $c->res->redirect( $c->uri_for('/') ); } else { # Show Login Form $c->stash('error' => "Sorry your login failed."); $c->res->redirect( $c->uri_for('/login') ); } }
> Subject: Re: [Catalyst] Catalyst Roles With ACL > From: bobtf...@bobtfish.net > Date: Tue, 14 Aug 2012 19:12:23 +0100 > To: catalyst@lists.scsys.co.uk > > > On 14 Aug 2012, at 18:12, Blaine Everingham wrote: > > > > When I try and run my program I get > > Failed to load user data. You passed [ARRAY(0x39a8964)] to authenticate() > > but your user source (MyApp::User) only has these columns: > > [id,alias,name_first,name_last,email] Check your authenticate() call. > > > > Any idea on how I can load the roles? > > > You didn't show us the ->authenticate() call in your code that the error > message tells you is the problem. > > Before doing anything else, I'd like to see that call, to check it isn't the > source of the problem ;_) > > Cheers > t0m > > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/