keycloak-angular
keycloak-angular copied to clipboard
Access to Keycloakinstance when I'm not on guarded/authentication needed routes
Versions.
"keycloak-angular": "^8.2.0", "keycloak-js": "^14.0.0", "@angular/core": "~11.2.11",
Desired functionality.
Access to the Keycloak Instance throughout the application. Whenever I'm logged in and then move to a route that doesn't need authentication, nor has a Guard observing it I still want to have access to the keycloak instance to show the username etc. How can accomplish this? I figured out that the instance is not shared thorugh my lazy loaded modules, so how do I accomplish this?
I was not able to find any documentation about this, nor anyone with the same issue.
Best regards,
Philipp