From 023f74e9631dbfa45f220c942adae5b7a9509ba8 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 12 Jan 2023 17:40:30 +0100 Subject: [PATCH] chore: only proxy auth plugin requests Signed-off-by: blam --- packages/app/src/AuthProxyDiscoveryApi.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/app/src/AuthProxyDiscoveryApi.ts b/packages/app/src/AuthProxyDiscoveryApi.ts index 0f29dc2c82..0380753935 100644 --- a/packages/app/src/AuthProxyDiscoveryApi.ts +++ b/packages/app/src/AuthProxyDiscoveryApi.ts @@ -32,7 +32,11 @@ export class AuthProxyDiscoveryApi implements IDiscoveryApi { } async getBaseUrl(pluginId: string) { - if (this.isAuthProxyingEnabled && this.authProxyUrl) { + if ( + pluginId === 'auth' && + this.isAuthProxyingEnabled && + this.authProxyUrl + ) { return this.authProxyUrl; }