Use configuration from service in provideKeycloak()

Discussão em 'Angular' iniciado por Bernd, Janeiro 24, 2025.

  1. Bernd

    Bernd Guest

    Keycloak Angular has deprecated the use of KeycloakService. The recommended way to initialize Keycloak is now to use provideKeycloak() in the providers array of ApplicationConfig. I have a service which loads my Keycloak config settings from the server (url, realm, client-id). How can I use these settings in provideKeycloak()? I noticed that there is a "providers" property in the provideKeycloak() config object, but I don't know how to use it for this case.

    Continue reading...

Compartilhe esta Página