Bug 40882

Summary: Identity provider errors are not translatable
Product: Koha Reporter: David Cook <dcook>
Component: AuthenticationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: agustinmoyano, dpavlin, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40736
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2025-09-26 02:18:45 UTC
In Koha/REST/V1/OAuth/Client.pm, when there's an error, we redirect to another page with a URL parameter "auth_error". 

Here's some example errors:
"No configuration found for your provider";
"wrong_csrf_token"
"No configuration found for your email domain"
"User cannot access this resource"
<An exception caught during $c->oauth2->get_token_p>

Only the errors after "wrong_csrf_token" are escaped.