No description
eb5a22658f
Py server |
||
---|---|---|
scripts | ||
brutalist.css | ||
callback | ||
cert.pem | ||
code.html | ||
implicit.html | ||
index.html | ||
infos.js | ||
infos.js.gpg | ||
key.pem | ||
login.html | ||
nopasskey.pem | ||
README.md | ||
README.org | ||
server.py | ||
start-server.sh |
Test OAuth2 Authorization Code Grant process
Code is quite minimal done in js with no lib.
Running the Demo
If you don't want to use sws, you can use python 3.
python server.py
Utility scripts
Modify scripts/get_refresh_token
to retrieve a refresh/access token from the CTR API.
Modify scripts/test_access_token
to use your access token to query the CTR API.