Bugzilla – Attachment 143451 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.46 KB, created by
David Cook
on 2022-11-09 00:45:45 UTC
(
hide
)
Description:
Bug 32138: Fix OIDC default mapping
Filename:
MIME Type:
Creator:
David Cook
Created:
2022-11-09 00:45:45 UTC
Size:
1.46 KB
patch
obsolete
>From 462421ccf5775bf532b2d20b0e167cdcac077278 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" >} >--- > .../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 460f37ac40..5e3c06bc76 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 >@@ -534,8 +534,8 @@ > }, > mapping: { > email: "email", >- given_name: "firstname", >- family_name: "surname" >+ firstname: "given_name", >+ surname: "family_name" > } > }, > OAuth: { >-- >2.30.2
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