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

--- Comment #132 from David Cook <[email protected]> ---
Looks like Koha/Template/Plugin/AuthClient.pm might be having an issue with
Koha/Auth/Identity/Providers.pm...

--

Test plan 1:
0. Apply patches
1. apt install libmojolicious-plugin-oauth2-perl
2. koha-upgrade-schema kohadev
3. restart_all

Test plan 2:
1. Go to http://localhost:8081/cgi-bin/koha/admin/admin-home.pl
2. Click on "Identity providers"
3. Click "New identity provider"
4. Enter relevant details and click "Submit"
5. Click on "Manage Domains"
6. Click "Edit" on the default domains
7. Set "Allow staff" and allow update on login and autoregister and click
"Submit"

8. koha-plack --restart kohadev

9. In an Incognito window or different browser, go to http://localhost:8080,
and try logging in with a user that doesn't exist in Koha

--

I'm getting this error:

"There was an error authenticating to external identity provider

No configuration found for your provider"

I'm seeing the following error in the logs on Starman startup:

[2022/11/04 06:16:26] [WARN] Warning: Failed to fetch oauth configuration:
Can't locate object method "search" via package "Koha::Auth::Providers"
(perhaps you forgot to load "Koha::Auth::Providers"?) at
/kohadevbox/koha/Koha/REST/V1.pm
line 143.
[2022/11/04 06:16:26] [WARN] Warning: Failed to fetch oauth configuration:
Can't locate object method "search" via package "Koha::Auth::Providers"
(perhaps you forgot to load "Koha::Auth::Providers"?) at
/kohadevbox/koha/Koha/REST/V1.pm
line 143.

--

Looks like a typo.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to