Adapters
Adapters are a set of helper functions to provide framework specific integration into @jmondi/oauth2-server. We provide adapters for some common tools:
- Express - If you're using Express, you can use the
@jmondi/oauth2-server/expressadapter. - Fastify - If you're using Fastify, you can use the
@jmondi/oauth2-server/fastifyadapter. - VanillaJS - Adapts the Fetch Request and Response so you can use Honojs, Sveltekit, Nextjs or whatever tool your using that uses the native Request and Response
@jmondi/oauth2-server/vanillaadapter. - Nuxt - If you are using Nuxt, you can directly copy this code and use it as is.