[Koha-bugs] [Bug 31378] Add a generic OAuth2/OIDC client implementation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 8 07:17:34 CET 2022


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

--- Comment #206 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #204)
> I got the following error: 
> 
> There was an error authenticating to external identity provider
> 
> DBIC result _type isn't of the _type Category at
> /usr/share/perl5/DBIx/Class/Storage/BlockRunner.pm line 130.
> 
> Looks like auto register doesn't work still...

It looks like I had forgotten to provide "Default library" and "Default
category".

When I do provide "Default library" and "Default category", it does auto
register a new patron! Yay!

If I provide a "Default category" but no "Default library", then I get this
error:

"There was an error authenticating to external identity provider

Broken FK constraint"

--

I think for these two scenarios, you just shouldn't show the error on the Web
UI. Log it to the log files and leave it at that. It's enough to tell the end
user that "There was an error authentication to external identity provider.

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


More information about the Koha-bugs mailing list