From ea4b9f5fb2200345149a4ba933546dc4c9085ae5 Mon Sep 17 00:00:00 2001 From: Olaf Rosendahl Date: Fri, 26 Apr 2024 15:07:05 +0200 Subject: [PATCH] Update auth.github._index.tsx --- web/app/routes/auth.github._index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/routes/auth.github._index.tsx b/web/app/routes/auth.github._index.tsx index 3885930..1cc7f3c 100644 --- a/web/app/routes/auth.github._index.tsx +++ b/web/app/routes/auth.github._index.tsx @@ -8,6 +8,7 @@ export const loader = async ({ response }: LoaderFunctionArgs) => { }; export const action = async ({ request, response }: ActionFunctionArgs) => { + console.log('GitHub index action new Headers().getSetCookie', new Headers().getSetCookie); console.log('GitHub index action', response); try { const user = await authenticator.authenticate('github', request); @@ -19,6 +20,7 @@ export const action = async ({ request, response }: ActionFunctionArgs) => { } catch (e) { console.error('GitHub index action - catch', e); if (e instanceof Response) { + console.error('GitHub index action - getSetCookie', e.headers.getSetCookie()); return new Response(undefined, { status: e.status, headers: e.headers }); } throw e;