From 104a5159e2748390ec102330bfed61982357f271 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 11 Feb 2021 22:51:35 +0100 Subject: [PATCH] return to test --- packages/dashboard/src/pages/api/redirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard/src/pages/api/redirect.js b/packages/dashboard/src/pages/api/redirect.js index 3c0e8cc8..9531a558 100644 --- a/packages/dashboard/src/pages/api/redirect.js +++ b/packages/dashboard/src/pages/api/redirect.js @@ -9,7 +9,7 @@ export default async (req, res) => { try { const auth = await superagent .get("http://oathkeeper:4455/user") - .set("Cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session)); + .set("cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session)); console.log(auth.header);