[Koha-bugs] [Bug 33768] We need tests for the OAuth2/OIDC client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 18 16:32:52 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33768

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au,
                   |                            |jonathan.druart+koha at gmail.
                   |                            |com,
                   |                            |kyle at bywatersolutions.com,
                   |                            |martin.renvoize at ptfs-europe
                   |                            |.com, tomascohen at gmail.com

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
When the feature was developed, we didn't find a way to make tests for it. All
testing was done against live servers (that's why the `--sso` switch was added
to `ktd`.

There's a Mock targert server in the Mojolicious::Plugin::OAuth2 library we
could try, or maybe it would require ad-hoc mocking.

Not sure, ideas/patches welcome.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list