How to manage auth for a Next app with auth0 and a backend with NODE + EXPRESS

Hey! I am working in a next app, I want to create the auth flow with the next SDK, my intention is to make the auth with github, then get the token access and send it in the authorization header and in the API made with node and express decode the token and enable the endpoints. Does anyone know how to do this or have any sample code? I’m not sure how to decode the token, the algorith what auth0 is using is RS256.