Sample OAuth 2.0 Express server to test connection and endpoints.
yarnTo test without scope or certificates
yarn startTo test with scope only
yarn start:scopeTo test with certificates only
yarn start:certTo test with scope and certificates
yarn start:cert-scopeInstall 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.