Default

Function: default()

[object Object]

Defined in: app/layout/keycloak.tsx:34

A root-level layout component that initializes the Keycloak authentication provider.

This component wraps the application's route tree with ReactKeycloakProvider, ensuring that all nested components have access to the Keycloak state (authenticated, token, profile, etc.) via the useKeycloak hook.

Initialization Configuration:

  • onLoad: 'check-sso': This allows the application to check if a user is already logged in with the Identity Provider (IdP) without forcing a redirect to the login page immediately. If the user is logged in, it authenticates them; otherwise, it leaves them as unauthenticated.

Returns

[object Object]

Component

On this page