Flask Authentication Override for one Route
Although the above answer solves my query, I was looking for more specific scenario.
Here's what I changed,
I commented #app.config['BASIC_AUTH_FORCE'] = True in flask settings
Here is what changed in routes.py
Added 
basic_auth = BasicAuth(app)
and I added this decorator
@basic_auth.required for the routes which requires authentication.
As a security measure, I am allowing Unauthenticated requests only from a specific host using headers.
I'm new to python and working on a small code for flask webserver.
I need a solution to achieve the below scenario.
I have app.py which calls settings.py for flask user ID and password and also a route.py to handble the routes.
Now I want users to be asked for authentication only for few routes and other routes should override authentication and perform operation based on specific users/specific host.
Can this be achieved?
As of now its asking for authentication for all the routes