it with Catalyst apps. Using
Catalyst::Authentication::Credential::OpenID I've got the basics of
Authentication working, but I'm having problems with SREG.
The first problem is when using a .conf config, the docs say you can use:
However, this fails, since this doesn't resolve into an Array, which
is what Net::OpenID::Consumer expects when
Catalyst::Authentication::Credential::OpenID calls set_extension_args.
Ok, so I can get around that by defining my Auth in my Perl module instead...
The next problem is I can't seem to get at the SREG hash. I'm trying
to get the hash using:
$sreg = $c->user->signed_extension_fields(
...but this just assigns $sreg the string
Dumps of $c->user don't show anything useful either.
Am I missing something, or is OpenID Extensions for Catalyst currently broken?
Trevor Phillips - http://dortamur.livejournal.com/
"On nights such as this, evil deeds are done. And good deeds, of
course. But mostly evil, on the whole."
-- (Terry Pratchett, Wyrd Sisters)