Flask redirect with auth header
So I’m developing an app with Flask and I’m using JWT to do the authorization, the data from the login form goes to the API, which does the verification on the db, and after it returns the authorization the front-end creates the JWT, but I don’t know how to redirect the user to the protect page while passing the auth on the header.