I want the user to fill in his credentials on my HTML page, let Python query the credentials and, if correct, forward to the next page. If the credentials are wrong, then redirect to a different page.
I've managed to authenticate the user with hard-coded credentials but when the user clicks on "log in" the user gets forwarded to an HTML page that I've put in my Python script. I did this because i don't know how to forward or redirect when authenticated.
I've been searching Google and looking through the documentation but all I get are scraper questions!
My specs: Apache, MariaDB, WSGI, Python3, HTML5.