I am working on angular application which has login form(username and password). I have to build REST APi endpoint which authenticates the credentails against database values and sends back JWT to the angular client. I am using spring boot,jpa,hibernate and mysql and I am not sure how to authenticate the login crendentails and send back JWT. Can anyone please advise on how it has to be done.I am working on angular application which has l