title: Spring Keycloak - How to set principal from JWT access token
body: <p>I've been at this for about a week now. </p>
  
  <p>I have a use case where I recieve an auth token through the body instead of the header, and because of that Keycloak and Spring don't automatically set the user. (The reason being, with websockets, I can only send the auth token through the body with the initial connection)</p>
  
  <p>I've tried intercepting the call before keycloak and copying the token from the body to the header, but that did not work.</p>
  
  <p>So now I would like to manually authenticate through keycloak (or just manually set the principal user). I have access to the JWT Access Token, but from here I'm not sure how to authenticate with keycloak.</p>
  
  <p>Anyone have any input?</p>