flask-httpauth Questions

5

Solved

When I try access a route with the @auth.login_required decorator, I am prompted with a window to enter my username and password. After entering this info, the parameters username_or_token and pass...
Derek asked 13/3, 2015 at 3:28

2

Solved

Hi! I have a route that I have protected using HTTP Basic authentication, which is implemented by Flask-HTTPAuth. Everything works fine (i can access the route) if i use curl, but when unit testin...
Transfusion asked 16/1, 2015 at 11:39

1

Solved

I'm using Flask-HTTPAuth to handle authentication in my app. I have a lot of views, and I don't want to add login_required to every one of them. How can I make login required by default? from flas...
Roselane asked 10/6, 2015 at 15:37

2

Solved

I wonder if anyone has used this flask extension to simplify the http-basic-auth. Basically I don't understand this example: users = { "john": "hello", "susan": "bye" } @auth.get_password def ...
Ogrady asked 22/10, 2013 at 12:34
1

© 2022 - 2024 — McMap. All rights reserved.