Fastify Integration

Since Fastify implementations over Express are growing for nodejs web apps, can you please provide some example showing how to integrate with Auth0 easily?

1 Like

there is some plugin with name ‘fastify-auth0-verify’
But with no documentation and with lot of testing and checking its code, i cannot make it work.

I have a auth0 configured on nextjs frontend. Its working fine. i will get accessToken from frontend and i need to pass it to every api call to by fastify backend server and validate user and log it.

Similarly i am building a react native app with auth0. with similer concept of getting auth0 accessToken and pass it to same fastify api endpoints. So one backend with same api endpoints for both my web and native apps.

Really need auth0 user verification plugin middleware for fastify backend.