I want to create a method for token verification
which will send a request to the userinfo
endpoint of keycloak and send me back, true or false.
true
if the response status is 200
(OK)
false
if the response status is 401
(Unauthorized)
I don't actually need the user info payload. Only the response status is required. How I can achieve this using spring boot 3