Question

Flask and Http basic authentication

hello there , i’m using Basic-auth in my flask application ( this one :https://flask-httpauth.readthedocs.org/en/latest/) and it works fine in my machine but i don’t know why it’s not working well in my server. i’m getting prompt and when i entered the credentials it still keep asking me for credentials without authenticating me

Subscribe
Share

@gp+digitalocean there’s no thing in the error logs also it works good in my local computer !

Usually that’s because of a wrong password or a coding error. You will want to check the error logs of your web server or your application.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.