Electron app authentication with Keycloak



Can anyone give me an advice on how to use Keycloak authentication with a web app that was build with Angular and converted to Electron app by using capacitor.

I can get to the login screen, but once I enter credentials I get an error back from keycloak. It probably has something to do with redirect links