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