I've just started working on a server to server box integration. I've worked through authentication and basic calls, but all in a unit testing environment. I've a few things online about token expiration, but I wasn't able to determine if they applied to JWT Server Authentication.
Do JWT Server Authentication tokens expire? If so:
- How often do these credentials expire?
- Is there anywhere to see the expiration on the BoxJWTAuth object, or on the BoxClient? I've looked through these objects and can't seem to find anything relating to that.
- Is there an code example of how to correctly handle token expiration? (what kind of error gets thrown back and how to catch it)
Please sign in to leave a comment.