Sample OAuth 2.0 Express server to test connection and endpoints.
yarn
To test without scope or certificates
yarn start
To test with scope only
yarn start:scope
To test with certificates only
yarn start:cert
To test with scope and certificates
yarn start:cert-scope
Install Insomnia or Postman
Sample endpoints are available in ./endpoints
, which can be imported into Insomnia.
Add client certificates under Collection Settings
with CRT as certs/client1-crt.pem
and Key as certs/client1-key.pem
for lvh.me:8002 and lvh.me:8003.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.