librelist archives

« back to archive

Using flask as a reverse proxy

Using flask as a reverse proxy

Xavier claude
2015-07-28 @ 08:15

I want to use flask as a reverse proxy which handle the 
authentification. So, the query is sent to the flask application, it 
verifies that the user is authenticated, then it queries the backend 
server with the right parameters and send the response back to the user. 
(if the user is not authenticated, he is redirected to a login page 
handled by flask).

Is flask a good idea for this ?

Thank you for your response.

(Sorry if this question was already posted but I didn't find it)
Xavier Claude