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>
This commit is contained in:
parent
cab4155649
commit
a4d9f572bc
2 changed files with 8 additions and 0 deletions
|
@ -98,6 +98,10 @@
|
||||||
in: query
|
in: query
|
||||||
description: Web page with user friendly description of the error
|
description: Web page with user friendly description of the error
|
||||||
type: string
|
type: string
|
||||||
|
- name: session_state
|
||||||
|
in: query
|
||||||
|
description: Session state returned by OAuth server
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
"302":
|
"302":
|
||||||
description: User authorized
|
description: User authorized
|
||||||
|
|
|
@ -53,6 +53,10 @@
|
||||||
in: query
|
in: query
|
||||||
description: Web page with user friendly description of the error
|
description: Web page with user friendly description of the error
|
||||||
type: string
|
type: string
|
||||||
|
- name: session_state
|
||||||
|
in: query
|
||||||
|
description: Session state returned by OAuth server
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
"302":
|
"302":
|
||||||
description: User authorized
|
description: User authorized
|
||||||
|
|
Loading…
Reference in a new issue