Reputation: 651
I'm working on a Flask application and don't see in the documentation how to turn off the requirement for a user to be logged in. We need to do this for some REST services coinciding (possibly) with some pages that do require logins.
What's the best way to do this? I've scoured the docs and snippets and don't see how to turn off the requirement for certain blueprints. I'm getting 401 (Unauthorized) pages on all that I try.
Thanks!
Upvotes: 1
Views: 486
Reputation: 318598
Flask does not require any authentication by default. Usually you have to decorate your view functions if you want such behaviour. So your error is most likely within your web server configuration.
Upvotes: 6