[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
Fri Oct 14 22:58:46 CEST 2022


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

--- Comment #79 from Agustín Moyano <agustinmoyano at theke.io> ---
(In reply to David Cook from comment #74)
> Another problem:
> 
> If you have a "blank" domain and a specific domain, the "blank" domain is
> used instead of the specific domain.

Strange, the behavior should be the opposite. The logic was that you could
define multiple domains (even partially) and the domain with the longest
matching text should win. If there was no matching domain, then go with the
default.

> 
> If you want to set different "Default library" and "Default category" based
> on email domain, it won't work if you have a "blank" domain.

Maybe I've done something wrong with the regexp, and if the email domain
doesn't match, you won't see that "default library" and "default category"
configured for the domain

> 
> It also means the "Auto register" and "Update on login" wouldn't work
> right... if they were working...

I've fixed auto register in latest patches, but for it to work, you need to
define userid or cardnumber in the mapper.

> 
> I think the only thing that does work is having "Allow staff: No" in "blank"
> domain and "Allow staff: Yes" in specific domain. ("Allow opac: no" for
> "blank" would also work but that would be an unlikely scenario.)

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


More information about the Koha-bugs mailing list