fork download
  1. import jwt # See https://p...content-available-to-author-only...n.org/pypi/PyJWT
  2. import time
  3. import uuid
  4. print (jwt.encode({"iss": "47152084",
  5. "iat": int(time.time()),
  6. "exp": int(time.time()) + 1800,
  7. "ist": "project",
  8. "jti": str(uuid.uuid4())},
  9. 'dbbf835212997504dada2784c9d1f75b03b78ff6',
  10. algorithm='HS256'))# your code goes here
Success #stdin #stdout 0.1s 15672KB
stdin
Standard input is empty
stdout
b'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI0NzE1MjA4NCIsImlhdCI6MTY5NTgxODg2NCwiZXhwIjoxNjk1ODIwNjY0LCJpc3QiOiJwcm9qZWN0IiwianRpIjoiNjdmZGE5ODctYWFiNS00ZjEzLThjM2MtZDY3ZGEzN2NhODZkIn0.1-FgX09mdmamW5Mg8KUI8CwdaHulH4Cg0FYf4tNKK6A'