in reply to Re^3: [Catalyst] authenticate called with nonexistant realm: 'default'
in thread [Catalyst] authenticate called with nonexistant realm: 'default'

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..

Replies are listed 'Best First'.
Re^5: [Catalyst] authenticate called with nonexistant realm: 'default'
by Anonymous Monk on Apr 24, 2014 at 07:41 UTC

    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