GouravRusiya30 / SpringBootRestAPI

A ready-to-use Template for Rest API using spring-boot-microservices, MongoDB as Database, Integrated with codecov and sonarqube, deployable to cloud.
https://gouravrusiya30.github.io/SpringBootRestAPI/
MIT License
37 stars 13 forks source link

Jwt #9

Closed ravening closed 4 years ago

ravening commented 4 years ago

Pull Request Template

Description

Adding jwt support so that every request contains a json web token which should be valid to perform api request

Fixes #3

How Has This Been Tested?

  1. Start the project
  2. Register an user with any role of ADMIN, MODERATOR or USER
  3. Login as above created user to get token
  4. Perform the api requests passing the token in the header

Checklist:

ghost commented 4 years ago

Congratulations :tada:. DeepCode analyzed your code in 2.742 seconds and we found no issues. Enjoy a moment of no bugs :sunny:.

👉 View analysis in DeepCode’s Dashboard | Configure the bot

GouravRusiya30 commented 4 years ago

@ravening Can you fix this vulnerability issue ?

GouravRusiya30 commented 4 years ago

junit is failing https://travis-ci.org/github/GouravRusiya30/SpringBootRestAPI/builds/710058050

GouravRusiya30 commented 4 years ago

let me merge this & I will try to fix Thanks, @ravening for your contribution !!!