Add JWT authentication for POST requests (https://github.com/jwtk/jjwt can be used). This will require the following:
Config parameter to pass in a secret which will be used to decode the tokens.
Filter which will validate POST request JWT which should be stored in a header. The header should be Authorization, with the value which follows the pattern Bearer ${JWT_GOES_HERE}.
If token is invalid, 401 should be returned with some message.
Add JWT authentication for
POST
requests (https://github.com/jwtk/jjwt can be used). This will require the following:POST
request JWT which should be stored in a header. The header should beAuthorization
, with the value which follows the patternBearer ${JWT_GOES_HERE}
.401
should be returned with some message.