That means Errai did not find a @Service implementation for the @Remote AuthenticationService.
Is there anything special that needs to be done for an instance of the KeycloakAuthenticationService to be found? I was thinking that the LoginRedirectFilter is doing it, but I might be missing something.
I think i found the problem - I had this property set to false:
// Disable server-side Errai bus
erraiBusRemoteCommunicationEnabled = false;
Another Question: is there a reason to base the security module on RPC and not JAX-RS? My app is entirely based on JAX-RS, but it seems I have to also enable RPC solely for the security to work .
.. it seems i missed the fine print in the docs -:), maybe this needs to be stressed out for sloppy readers like myself:
Once you’ve created some users and roles, you’re ready to write some client-side code. Authentication is performed with the
org.jboss.errai.security.shared.service.AuthenticationServicevia Errai RPC.