coding-coach-api icon indicating copy to clipboard operation
coding-coach-api copied to clipboard

Protecting private endpoints

Open crysfel opened this issue 6 years ago • 0 comments

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

crysfel avatar Apr 10 '19 04:04 crysfel