JWT auth plugin and necessary updates

This commit is contained in:
Gregory Schier committed 2025-01-17 08:02:55 -08:00
1 parent bd322162c8
commit 07ff709429
24 files changed
+327 -104

No files matched your search

+5 -3
View File
@@ -304,11 +304,13 @@ async function initialize() {
}
if (payload.type === 'get_http_authentication_request' && mod.plugin?.authentication) {
const auth = mod.plugin.authentication;
const replyPayload: InternalEventPayload = {
...auth,
type: 'get_http_authentication_response',
name: mod.plugin.authentication.name,
pluginName: pkg.name,
config: mod.plugin.authentication.config,
// Remove unneeded attrs
onApply: undefined,
};
sendPayload(windowContext, replyPayload, replyId);
return;