No description
Find a file
2020-03-03 21:52:43 +01:00
cert update to a more specific usage 2019-07-25 18:50:39 +02:00
scripts move scripts to scripts folder 2020-03-02 21:36:58 -08:00
site add oidc 2020-02-21 18:51:38 +00:00
info.js update to a more specific usage 2019-07-25 18:50:39 +02:00
README.md add a little readme 2020-03-02 21:38:12 -08:00
README.org update to a more specific usage 2019-07-25 18:50:39 +02:00
server.py add option for python server 2020-03-02 21:31:24 -08:00
start-server.sh update to a more specific usage 2019-07-25 18:50:39 +02:00

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.