]> git.koha-community.org Git - koha.git/commit
Bug 32354: Accept session_state param given by OAuth IdP
authorAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 27 Nov 2022 21:24:59 +0000 (21:24 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Thu, 8 Dec 2022 11:08:27 +0000 (11:08 +0000)
commit00ba36526ace7aba28a45e5f63a2b9a317f75d1f
tree248bf361d492cb44f3d5c7d7a20a58e51314ef58
parent18b6dc3dae2f3a14dbdc538f9c3050433413cc31
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>
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
api/v1/swagger/paths/oauth.yaml
api/v1/swagger/paths/public_oauth.yaml