Bugzilla – Attachment 143528 Details for
Bug 32138
OIDC client uses backwards default mapping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32138: Fix OIDC default mapping
Bug-32138-Fix-OIDC-default-mapping.patch (text/plain), 1.52 KB, created by
Tomás Cohen Arazi
on 2022-11-09 16:42:30 UTC
(
hide
)
Description:
Bug 32138: Fix OIDC default mapping
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2022-11-09 16:42:30 UTC
Size:
1.52 KB
patch
obsolete
>From a24f890403b261d2520941da65d1b557f9fb2754 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 9 Nov 2022 00:43:53 +0000 >Subject: [PATCH] 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@theke.io> >--- > .../intranet-tmpl/prog/en/modules/admin/identity_providers.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt >index 3c56c09270f..701d7981451 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt >@@ -536,8 +536,8 @@ > }, > mapping: { > email: "email", >- given_name: "firstname", >- family_name: "surname" >+ firstname: "given_name", >+ surname: "family_name" > } > }, > OAuth: { >-- >2.38.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32138
:
143451
| 143528