Does anyone know how to check a Auth0 session in NodeJS (window object is not available)?
I’ve authenticated the user on the frontend. And I’m able to check a session. But I’d like to perform the check session in a serverless function using NodeJS.
How can I do this?
What do I need to send to the endpoint in the URL or headers?
And can I use the npm auth0 package in a netlify function?
I’m getting this error:
Error during invocation: TypeError: n is not a function