From 684ac06410d5a680b64ed34192267b717bf6ddf3 Mon Sep 17 00:00:00 2001 From: Nuno Anselmo Date: Thu, 19 Feb 2026 13:21:14 +0000 Subject: [PATCH] Test exposing origin in unauthorized response --- apps/api/src/app/plugins/bffAuth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/plugins/bffAuth.ts b/apps/api/src/app/plugins/bffAuth.ts index 5b1be836..a991466e 100644 --- a/apps/api/src/app/plugins/bffAuth.ts +++ b/apps/api/src/app/plugins/bffAuth.ts @@ -34,7 +34,7 @@ export const bffAuth: FastifyPluginCallback = (fastify, opts, next) => { !isLocalhost(origin) ) ) { - reply.status(403).send('Unauthorized') + reply.status(403).send(origin) return }