CORS issue with Infinispan and keycloak

Trying to configure Infinispan to use keycloak for authentication, what happens I am prompt for username/password and then when redirected to infinispan it goes into a endless loop. I am using chrome and the debug tool states 401 - strict-origin-when-cross-origin during a post. In keycloak client config I have Web Origins set to “*”. Has anybody seen this before ?