No description
Find a file
2020-03-02 21:38:12 -08:00
scripts move scripts to scripts folder 2020-03-02 21:36:58 -08:00
brutalist.css minor css fix 2018-04-16 16:57:41 +02:00
callback easier to test client forcing HTTPS 2018-10-11 14:55:14 +02:00
cert.pem easier to test client forcing HTTPS 2018-10-11 14:55:14 +02:00
code.html 🚧 implicit workflow 2018-05-04 18:35:45 +02:00
implicit.html Implicit grant updated 2018-05-09 17:25:49 +02:00
index.html easier to configure version 2018-04-16 16:09:37 +02:00
infos.js use code 2018-06-04 21:54:38 +02:00
infos.js.gpg easier to test client forcing HTTPS 2018-10-11 14:55:14 +02:00
key.pem easier to test client forcing HTTPS 2018-10-11 14:55:14 +02:00
login.html easier to test client forcing HTTPS 2018-10-11 14:55:14 +02:00
nopasskey.pem easier to test client forcing HTTPS 2018-10-11 14:55:14 +02:00
README.md add a little readme 2020-03-02 21:38:12 -08:00
README.org Added README.org 2018-02-08 17:17:15 +01:00
server.py add option for python server 2020-03-02 21:31:24 -08:00
start-server.sh easier to test client forcing HTTPS 2018-10-11 14:55:14 +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.