I would like to use basic-auth to authenticate multiple users for my app, but instead of using a credentials file, I would like to authenticate users with custom Python code (which will encrypt and validate passwords using an existing database table). Any ideas or suggestions would be very welcome.
Thanks.
basic_auth
(PANEL_BASIC_AUTH
) Password, dictionary with a mapping from username to password or filepath containing JSON to use with the basic auth provider.
Hm I don’t think that’s possible yet, but sounds like a good feature request. Can you submit it on GitHub issues?
OK, I did submit a feature request. In the meantime, is there a way to avoid specifying the actual text passwords in the credentials file?
Thanks very much.