keycloack-js client just returns "undefined" when checking for authentication
I am initializing keycloakClient in my SPA (react / typescript), and I do not find what I am doing wrong. When I click on then
Login button I get to the app page in keycloak and after successful authentication I see the network traffic pointing me to "/internal".
However, inside Router.tsx, I always get that keycloakClient.authenticated is undefined, and thus I am redirected to "/login". Seems that the instance of keycloakClient gets lost, and then every time starts from scratch?
In my...