How to generate a token for a JWT app

Answered
New post

Comments

2 comments

  • cbetta

    This page describes how to generate a JWT and use it to request an access token for an enterprise:

    https://developer.box.com/docs/construct-jwt-claim-manually

    You can then pass this access token the same way you'd use the developer token to the library you are using (I imagine)

    0
    Comment actions Permalink
  • jayanth143sri

    I was following the same but while decrypting my private key using serialization.load_pem_private_key(), and passing the output key to jwt.JWT.encode(), i was getting an TypeError.

    TypeError: Object of type '_RSAPrivateKey' is not JSON serializable

     

    0
    Comment actions Permalink

Please sign in to leave a comment.