Skip to content

Adapters

An adapter is a set of helper functions. Each adapter connects @jmondi/oauth2-server to one framework. The library supplies four adapters:

AdapterImport fromUse it with
Express@jmondi/oauth2-server/expressExpress
Fastify@jmondi/oauth2-server/fastifyFastify
Vanilla@jmondi/oauth2-server/vanillaHono, SvelteKit, Next.js, and other tools that use the native Request and Response objects
h3@jmondi/oauth2-server/h3h3, Nuxt, and Nitro