The OAuth agent is an API that issues cookies for Single Page Applications.
This implementation uses the version from the code examples for the O'Reilly book.
The main difference in this fork is that I added API operations to enable expiry simulation testing:
gary-archer/oauth-agent-node-express
A Node.js OAuth Agent, providing API driven OAuth and OpenID Connect for SPAs
TypeScriptApache-2.0