Bug 34478 accidentally removed the csrf token that functions as the state parameter in Koha/REST/V1/OAuth/Client.pm, which has broken the OIDC/Oauth SSO. Easy fix though, and should only be relevant for master at this point.
Created attachment 162709 [details] [review] Bug 36219: Re-add missing state param for Oauth/OIDC client This change restores the csrf token added as the state param for the OAuth/OIDC client. Test plan: 0. Apply the patch and restart Starman 1. Test the SSO using the wiki guide
I confirm that the changes made to Koha/REST/V1/OAuth/Client.pm in the following commit were not expected! commit 7e7159bf58f2dd1172737d0abe4bcfa15237c88e Bug 34478: Remove generate_csrf from pl
Created attachment 162711 [details] [review] Bug 36219: Re-add missing state param for Oauth/OIDC client This change restores the csrf token added as the state param for the OAuth/OIDC client. Test plan: 0. Apply the patch and restart Starman 1. Test the SSO using the wiki guide Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 24.05.00
Depends on Bug 34478 not in 23.11.x