Next.js Discord

Discord Forum

How to access my api via another app

Unanswered
Galician Shepherd Dog posted this in #help-forum
Open in Discord
Galician Shepherd DogOP
I have a next.js app that is using the official auth0 library to protect my nextjs app. I am protecting my app using their middleware recommended approach. I created an api route in my app and am trying to access it externally via another app, however it has proven tricky since nexts auth0 uses session auth and including the bearer token does not seem enough? Any ideas? Has anyone run into this?

0 Replies