How to generate a token for a JWT app
AnsweredI'm using the laravel-box package to connect to the Box API and when I use a developer token everything works fine. But now I'd like to authenticate with a permanent token to an enterprise whose folders I need to access. So I went ahead and followed these steps: https://developer.box.com/docs/setting-up-a-jwt-app. Authorized my custom app with the client id etc. But where do I now generate the tokens that I need to log in with?
-
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)
Please sign in to leave a comment.
Comments
2 comments