# in python from jose import jwt print(jwt.encode({"user": "rosti"}, "some fixed configured random string, e.g. from .env", algorithm="HS256"))