[Koha-bugs] [Bug 32138] OIDC client uses backwards default mapping

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 9 17:42:30 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32138

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 143528
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143528&action=edit
Bug 32138: Fix OIDC default mapping

This patch fixes the OIDC default mapping to have the Koha fields on
the left (ie key) and the OIDC standard claim fields on the right (ie value).

1. Apply the patch
2. Go to
http://localhost:8081/cgi-bin/koha/admin/identity_providers.pl?op=add_form
3. Choose "OIDC" for "Protocol"
4. Click "Add default OIDC mapping"
5. Note the following is displayed:
{
  "email": "email",
  "firstname": "given_name",
  "surname": "family_name"
}

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list