I messed around with this a little bit more last night but had exactly the same experience you did. There seems to be something wrong with the docs or a newish bug. I have used the auth package in lots of places without problems before so it's probably something simple that's missing/wrong. I won't have time to look at this today but if no one else chimes in I will try again when I can.
| [reply] |
I have finally found my mistake, and damn I feel stupid now...
In the configuration of my default realm, I have a credentials where it should have been credential ... the documentation also uses the singular form.
I noticed it by going through Catalyst/Plugin/Authentication.pl, looking at the initialization code (_authentication_initialize()). For each found possible realm, it looks for either credential or class exists. As bonus info, it looks like the module still supports putting all of your realms inside a realms hash.
Thank you for your time, I will go back and bash my head against the wall..
| [reply] [d/l] [select] |
I have finally found my mistake, and damn I feel stupid now...
In the configuration of my default realm, I have a credentials where it should have been credential ... t Please don't feel stupid -- this is a bug in the module, you should report it
Practically everybody gets tripped up by this code configuration via YAML file because it doesn't catch typos ... humans having to catch typos is stupid :) the module should do it
| [reply] |