Relative Content

Tag Archive for spring-securityjwt

jwt validation in spring security

I am trying to implement jwt in my spring boot project but have this error whenever I tested the token in postman, I don’t know what I did wrong in the implementation. The thing is that when I register a new user or login as an existing user, the app is able to return a token to me but when I used the returned token to perform other validation with the “Bearer ” keyword, I got this error that says Compact JWT strings may not contain whitespace. Here is the logcat and my code.