valenstical / ireporter

Simple web app that lets citizens report cases of corruption to the appropriate authorities. Users can also report on things that needs government intervention.
2 stars 0 forks source link

#162526621 Implements JWT for authorization #30

Closed valenstical closed 5 years ago

valenstical commented 5 years ago

What does this PR do? This PR implements Json Web Token (JWT) for providing secured access to private endponts. This ensures that requires made to private enpoints are authorized.

Description of Task to be completed?

How should this be manually tested? Clone this repo to your local system cd into iReporter and run npm install Create the .env file and populate with the corresponding jwt credentials Run the program; npm start Test the enpoints using POSTMAN or an equivalent

Any background context you want to provide? N/A

What are the relevant pivotal tracker stories? #162526621

Screenshots (if appropriate) N/A

Questions: N/A