Bugzilla – Attachment 191336 Details for
Bug 39160
Mojolicious::Plugin::OAuth2 is loaded suboptimally
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39160: Use optimal Mojolicious plugin name
Bug-39160-Use-optimal-Mojolicious-plugin-name.patch (text/plain), 1.13 KB, created by
David Cook
on 2026-01-13 05:33:59 UTC
(
hide
)
Description:
Bug 39160: Use optimal Mojolicious plugin name
Filename:
MIME Type:
Creator:
David Cook
Created:
2026-01-13 05:33:59 UTC
Size:
1.13 KB
patch
obsolete
>From daa78e6860301912d4f33f1fad31537129f9c66a Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 19 Feb 2025 05:58:12 +0000 >Subject: [PATCH] Bug 39160: Use optimal Mojolicious plugin name > >This change uses "OAuth2" instead of "Mojolicious::Plugin::OAuth2" >when setting the plugin, so that Mojolicious can find the plugin >faster. > >Test plan: >0. Apply the patch >1. koha-plack --restart kohadev >2. Run through OpenID Connect setup from "Testing SSO" on Koha Wiki >https://wiki.koha-community.org/wiki/Testing_SSO >3. Confirm that you can log into Koha using the Keycloak OIDC >--- > Koha/REST/V1.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/REST/V1.pm b/Koha/REST/V1.pm >index 158ffbf1225..44656e7fe9b 100644 >--- a/Koha/REST/V1.pm >+++ b/Koha/REST/V1.pm >@@ -175,7 +175,7 @@ sub startup { > $self->plugin('Koha::REST::Plugin::Responses'); > $self->plugin('Koha::REST::Plugin::Auth::IdP'); > $self->plugin('Koha::REST::Plugin::Auth::PublicRoutes'); >- $self->plugin( 'Mojolicious::Plugin::OAuth2' => $oauth_configuration ); >+ $self->plugin( 'OAuth2' => $oauth_configuration ); > } > > 1; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39160
:
178304
| 191336