[MODUSERSKC-15] Create new user attribute in Keycloak: external_system_id Created: 01/Feb/24  Updated: 05/Feb/24

Status: In Review
Project: mod-users-keycloak
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P2
Reporter: Craig McNally Assignee: Roman Leshchenko
Resolution: Unresolved Votes: 0
Labels: back-end, epam-eureka, eureka-phase4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: File MODUSERS-15_api_ui.mp4     File MODUSERSKC-15_api_keycloak.mp4    
Sprint: Eureka Sprint 45
Story Points: 1
Development Team: Eureka
RCA Group: TBD

 Description   

Overview

For many library's SSO setups, the "externalSystemId" field in the Folio user record is used to match information in the SAML response.  With the adoption of Keycloak, we need to "copy" the value of externalSystemId into an attribute on the keycloak user (external_system_id).

Scope

  • migration API adjustments
  • create/update API adjustments

Acceptance Criteria

  • keycloak users have an external_system_id attribute
  • the migration API has been updated
  • create/update user endpoints have been updated
  • tests have been updated
  • a demonstration is given to the team


 Comments   
Comment by Yauhen Viazau [ 05/Feb/24 ]

Tested on “evrk“ environment - works as expected

User “externalSystemId“ value (added via API or in UI) is shown in Keycloak for this user as “external_system_id“ (on “Attributes“ tab).

See examples:

Generated at Thu Feb 08 22:29:08 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.