Developer token is active only for 60min
Hello,
I have a requirement where i have to write a script to export some pdfs from some source to box, i was using box-python-sdk to acheive this, but the developer token i generate is active only for 60 min.
Since this is a script, i cannot set a redirect URI to retrieve a refreshed token.
I need to know a way to access box by refreshing this token without using a redirect URI.
Can this be done? If there is any other way then please suggest it.
Thanks in advance,
Kiran
-
You probably want to use JWT authentication: https://developer.box.com/docs/app-auth. You can generate a new access token by sending Box a new JWT.
Please sign in to leave a comment.
Comments
1 comment