So, I've tried to find this and haven't come across anything specific that has been able to help me. It may be out there, so if it is, please forgive me for posting this question again.
I'm trying to use BoxSDK for Python for OAuth2 identification.
I've come across 2 URLs to obtain initial authentication tokens:
b) https://app.box.com/api/oauth2/authorize?response_type=code&client_id= CLIENT_ID --- this goes to the URL in a)
At box-token-generator.herokuapp.com, there is a warning "Warning! Only use this tool with test client credentials/test Box accounts"
So, I can't use that URL.
Any tokens that do come from this seem to expire very quickly and regardless of whether the tokens are used within that short time, it doesn't look like either the refresh or access token get replenished because I end up getting that the refresh token has become invalid (hence the warning)
There was enough documentation to be able to write something using Python and the Box SDK to re-authenticate and store the new tokens, but I can't figure out how to get the INITIAL tokens.
Please help! Thanks!
Please sign in to leave a comment.