From a6f962469fb4bbd4ae4d1c1d820034f6784676c8 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Fri, 1 Mar 2024 22:09:35 +0600 Subject: [PATCH] One more oauth fix (#4849) Signed-off-by: Denis Bykhov --- pods/account/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pods/account/src/index.ts b/pods/account/src/index.ts index e9c93c5bac..b9f4bd4561 100644 --- a/pods/account/src/index.ts +++ b/pods/account/src/index.ts @@ -124,7 +124,11 @@ export function serveAccount (methods: Record, productId ctx.body = result }) - app.use(cors()) + app.use( + cors({ + credentials: true + }) + ) app.use(bodyParser()) app.use(router.routes()).use(router.allowedMethods())