I am implementing spring security with oauth2 and jwt. the below is my login function
function doLogin(loginData) { $.ajax({ url : back+\"/auth
You need to set the content-type in postman as JSON (application/json).
content-type
Go to the body inside your POST request, there you will find the raw option.
Right next to it, there will be a drop down, select JSON (application.json).