A Simple Flask App for generating and refreshing access tokens for Box OAuth 2
Live demo here: https://box-token-generator.herokuapp.com You shouldn't use production client credentials or login information with the demo–NEVER share your production client secret with anyone
-
Install virtualenv
-
Clone the source code:
$ git clone https://github.com/seanrose/box-arcade.git
-
cd into the directory you just cloned
$ cd box-arcade
-
Create a virtual environment
$ virtualenv .env --distribute
-
Activate the virtual environment
$ source .env/bin/activate
-
Install the dependencies
$ pip install -r requirements.txt
-
Start up the web server
$ python runserver.py
-
Go to the now running app at http://0.0.0.0:5000/
-
Sign in and have fun with your tokens!