Repository is available: https://github.com/jasonraimondi/ts-oauth2-server
@jmondi/oauth2-server
is a standards compliant implementation of an OAuth 2.0 authorization server for Node, written in TypeScript.
Requires node >= 12
The following RFCs are implemented:
- RFC6749 “OAuth 2.0”
- RFC6750 “The OAuth 2.0 Authorization Framework: Bearer Token Usage”
- RFC7519 “JSON Web Token (JWT)”
- RFC7636 “Proof Key for Code Exchange by OAuth Public Clients”
Out of the box it supports the following grants:
- Authorization code grant
- Client credentials grant
- Refresh grant
- Implicit grant // not recommended
- Resource owner password credentials grant // not recommended