Skip to content

Keycloak initialized, but not moving to READY state #628

Open
@LukeNell

Description

@LukeNell

I have upgraded my Keycloak-angular to 19.0.2 and keycloak-js to 26.1.0 in my NX workspace. My application is not standalone, so I have used provideAppInitializer to initialize my keycloak.

I have also added the provideKeycloak() with config and features defined in my app.module.ts (Have not given initOptions here).
Once the keycloak initialization is done, I am printing the keycloak object and finding that the authenticated is true, user profile is loaded.

But the only keycloak signal that gets logged is KeycloakAngularInit. It isn't moving to the READY state.
Also, no bearer tokens are getting attached to the API call, so I am suspecting that is also connected to this?

What am I missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions