Protecting private endpoints
crysfel opened this issue · comments
Crysfel Villa commented
Description
We need to setup a middleware to protect our private endpoints. We are using auth0 to handle authentication.
We need to make sure our endpoints are not accessible if a JWT is not provided or invalid. If the token is valid, then we need to return the private data