I have access token generated from websec using client id and secret.
My project app.properties have jwt public key.
I am developing rest api , call to Rest api will provide Bear token (generated one)that I wanted to validate using jwt public key.
But spring security internally use in memory token validator and return invalid token.
So how can l use jwt public key to validate the bearer token.
Or here I lack some understanding.