header location doesnt fully connect code example Example: redirect url LOGIN_REDIRECT_URL = 'your_url'