oauth2-client-demo/README.md

19 lines
393 B
Markdown
Raw Permalink Normal View History

2019-06-26 15:30:41 +00:00
Test OAuth2 Authorization Code Grant process
2019-04-23 10:27:55 +00:00
2019-06-26 15:30:41 +00:00
Code is quite minimal done in js with no lib.
2019-04-23 10:27:55 +00:00
2020-03-03 05:38:12 +00:00
## Running the Demo
If you don't want to use sws, you can use python 3.
``` python
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.