Bug 40882 - Identity provider errors are not translatable
Summary: Identity provider errors are not translatable
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Authentication (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-26 02:18 UTC by David Cook
Modified: 2025-09-26 02:20 UTC (History)
3 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.