Hello guys, I'm trying to add
repoze.who.plugins.basicauth import BasicAuthPlugin
my my base repoze.what config (using TG2)
I followed the instructions here
and I found several error as well as things not working as expected.
bugs in the docs
- the sample code is wrong, as BaseAuthPlugin isn't an authenticator.
- setting it as a "form_identifies" other than having a wrong name add
nothing to the log output of repoze.what
I currently added the following to my app_cfg.py file
base_config.sa_auth.form_plugin = None
http_auth = BasicAuthPlugin('my cool site')
base_config.sa_auth.form_identifies = [('http_auth', http_auth)]
but it just doesn't works
any pointers are appreciated
Repoze-dev mailing list