DEV Community

Discussion on: Spring Security with JWT

Collapse
 
kubadlo profile image
Jakub Leško

Hi. You can find JWT in HTTP header Authorization in response from /api/authenticate.

Collapse
 
morensya93 profile image
Faisal Morensya

But from your post it says <Response body is empty>

This response body should be the token right?

Thread Thread
 
kubadlo profile image
Jakub Leško

Yes, response body is empty since JWT is sent via HTTP header.
I'll update that code snipped since it's bit confusing.