Hello! I have a Flask application running on CentOS7. I have user 
authentication setup now and working as expected when I run the app on the 
builtin Flask server (for debugging). The issue is that Authorization is 
not working 100% of the time when running the application on Apache with 
the help of mod_wsgi. When I run the Flask using the builtin server, 
authentication works each time. When I run the app via Apache, as soon as 
the user logs in, it should be going to a specific page but it's getting 
this error in the browser. Once I refresh the page, the user goes to the 
right page. 

Unauthorized

The server could not verify that you are authorized to access the URL
 requested.  You either supplied the wrong credentials (e.g. a bad 
password), or your browser doesn't understand how to supply the 
credentials required.

*User->Login Page-> Home Page - Is desired*


*User-Login Page->home - "Unauthorized" error message -> Then I hit f5 (to 
refresh_ ->Home*

This issue only happens when I am using Apache and not the guiltin Flask 

Any idea what could be happening? 


-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to