https://www.mybluelinux.com/python-how-to-refresh-an-jwt-access-token-using-decorators/