Is it possible to protect an API using Auth0?

I’ve been following the guide to try and set up Auth0 in an express.js application, however, everything seems to be targeted towards serving pages from express. Does anyone know if its possible to setup Auth0 in a MERN stack application that allows users to sign in on the front end, but also protects the backend API endpoints?

Hi @TP850

Welcome to the Auth0 Community, great to have you on board :smiley:

We have some quickstart guides you can follow to get started for example, you can use this to setup Authorization in a Express.js API

This one will help you set up login/sign up using a React front end

These are the best places to start. I hope this helps.
Warm regards.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.