Skip to content

A full featured, secure, standards compliant implementation of an OAuth 2.0 authorization server for Nodejs that utilizes JWT and Proof Key for Code Exchange (PKCE), written in TypeScript.

License

Notifications You must be signed in to change notification settings

jasonraimondi/ts-oauth2-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0968be4 Β· Feb 2, 2025
Jul 26, 2024
Aug 12, 2024
Nov 17, 2024
Jul 3, 2024
Aug 25, 2024
Aug 12, 2024
Jun 6, 2023
May 9, 2024
Aug 7, 2024
Jun 5, 2023
Feb 2, 2025
Aug 14, 2024
Aug 11, 2024
Aug 25, 2024
Aug 25, 2024
Jul 3, 2024
May 29, 2024
May 29, 2024
Jul 26, 2024

Repository files navigation

TypeScript OAuth2.0 Server

JSR NPM Version GitHub Workflow Status Test Coverage NPM Downloads

@jmondi/oauth2-server is a standards compliant implementation of an OAuth 2.0 authorization server written in TypeScript.

Requires node >= 18. Read the docs

The following RFCs are implemented:

Out of the box it supports the following grants:

Framework support:

The included adapters are just helper functions, any framework should be supported. Take a look at the adapter implementations to learn how you can create custom adapters for your favorite tool!

Example implementations:

Security

Version Latest Version Security Updates
4.x πŸŽ‰ πŸŽ‰
3.x πŸŽ‰ πŸŽ‰
2.x πŸŽ‰

Migration Guide

Thanks

This project is inspired by the PHP League's OAuth2 Server. Check out the PHP League's other packages for some other great PHP projects.

Star History

Star History Chart