How to redirect user to universal login

I am using a python flask application. When user (not signed in) clicks on a link to navigate to a protected resource, say post.html, then it should bring up the auht0 universal login screen and then redirect to post.html after authentication
I have a app route /post with a method post() that should do above…
can someone help me?