I have a strange problem with refreshing JWT token that I can\'t seem to find a solution for online.
My simple method for login:
@app.route("/api/