Bugzilla – Attachment 144477 Details for
Bug 32354
Handle session_state param given by OAuth identity provider
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32354: Accept session_state param given by OAuth IdP
Bug-32354-Accept-sessionstate-param-given-by-OAuth.patch (text/plain), 1.84 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-12-07 17:19:44 UTC
(
hide
)
Description:
Bug 32354: Accept session_state param given by OAuth IdP
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-12-07 17:19:44 UTC
Size:
1.84 KB
patch
obsolete
>From a4d9f572bcd9bf5464040dadf70ca9ad9e4810b7 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Sun, 27 Nov 2022 21:24:59 +0000 >Subject: [PATCH] Bug 32354: Accept session_state param given by OAuth IdP > >This patch ensures Koha doesn't throw an error if the IdP hands back a >session_state parameter. > >To test: > >1) Set up an identity provider >2) On the IdP's configuration, make it hand back a session_state >3) Confirm authentication using OIDC works with and without the >session_state > >Sponsored-by: Plant & Food Research > >Signed-off-by: David Cook <dcook@prosentient.com.au> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/paths/oauth.yaml | 4 ++++ > api/v1/swagger/paths/public_oauth.yaml | 4 ++++ > 2 files changed, 8 insertions(+) > >diff --git a/api/v1/swagger/paths/oauth.yaml b/api/v1/swagger/paths/oauth.yaml >index e471336cedc..2b3f2fb029f 100644 >--- a/api/v1/swagger/paths/oauth.yaml >+++ b/api/v1/swagger/paths/oauth.yaml >@@ -98,6 +98,10 @@ > in: query > description: Web page with user friendly description of the error > type: string >+ - name: session_state >+ in: query >+ description: Session state returned by OAuth server >+ type: string > responses: > "302": > description: User authorized >diff --git a/api/v1/swagger/paths/public_oauth.yaml b/api/v1/swagger/paths/public_oauth.yaml >index 40fe951909c..80ac4e3741d 100644 >--- a/api/v1/swagger/paths/public_oauth.yaml >+++ b/api/v1/swagger/paths/public_oauth.yaml >@@ -53,6 +53,10 @@ > in: query > description: Web page with user friendly description of the error > type: string >+ - name: session_state >+ in: query >+ description: Session state returned by OAuth server >+ type: string > responses: > "302": > description: User authorized >-- >2.34.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 32354
:
144274
|
144388
| 144477