Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Keycloak is an open-source identity and access management solution that secures applications and services easily. In BC Government, the Pathfinder SSO Keycloak server acts as an OpenID Connect (OIDC) based identity provider.

CHEFS is hosted using a Custom Keycloak realm on the Silver OpenShift cluster. In order to access the admin panel of the Keycloak realm, contact Jason Chung.


User Groups

To gain admin access, the user must be added to both the “Realm Admin” and “Operations Team” user groups. The operations-team provides access to the UI admin panel and the realm-administrator allows for access to the Keycloak console under groups.

Image RemovedImage Added

Dual Tenancy

CHEFS is currently dual tenant within the realm.


Duplicate Emails

The realm has the “Duplicate Emails“ setting within the admin console turned on to ensure that BCeID and IDIR are always treated as two separate entities and never merged. This means that if one user has both a BCeid and an IDIR account, they must be treated as two separate users.


Refined Roles

CHEFS uses composites to create roles that can be associated with multiple roles, allowing for grouping and cross-client roles without explicitly choosing roles.


Permissions

CHEFS permissions are handled through the backend database. Keycloak only verifies whether one is a “user” or an “admin.”


Forward Propagating Design

CHEFS is constrained with a forward-propagating design, meaning that all changes to an environment can only be deployed forwards, never backwards. A new migration file must be created in order to make a change and it can’t be removed. Due to this, ensure that the changes you are implementing are correct.


KeycloakID VS GUID

It is best practice to use Government based IDs (GUID/DID) within CHEFS. Using a Keycloak ID (KCID) creates an additional dependency on the Keycloak product which is discouraged should the SSO team decide to use another product in the future.


Migration to Gold

  • Continuity Management Consideration

  • CHEFS Admin Role requires to access admin panel

  • verify-token-audience


Impact on CHEFS Users and End Users

During the process of transitioning the ownership of CHEFS, there is no action required by the users of CHEFS that use the application to create forms or the end-users interacting with the forms (in terms of Keycloak configuration).

However, once the application is hosted on a new domain name, CHEFS users would need to update the new link on any channel they use to reach the end-users.