Manual Box JWT Authentication
System Requirements
Python 3.6+
PIP package manager
virtualenv
Set up and Run
- From the project root folder, create a Python 3.6+ virtual environment.
$ virtualenv --python=python3 env
- Activate the virtual environment.
$ source env/bin/activate
- Install the project dependencies.
$ pip install -r requirements.txt
- Add a Box Platform custom JWT app's keys to the projects root folder with a file name matching what's below.
jwt_auth.json
- Run the script and review the terminal logs to see an access token
python main.py do-box-jwt-auth