Closed pdawson closed 7 months ago
When a session cookie is minted within Auth on the server, the options of that cookie are hardcoded
setCookie(event, AUTH_COOKIE_NAME, cookie, { maxAge: AUTH_COOKIE_MAX_AGE, secure: true, httpOnly: true, path: "/", sameSite: "lax" });
Allow us to specify options for said cookie within config for auth, e.g.
vuefire: { auth: { enabled: true, sessionCookie: true, cookieOptions: { sameSite: 'strict', }, }, },
No response
What problem is this solving
When a session cookie is minted within Auth on the server, the options of that cookie are hardcoded
Proposed solution
Allow us to specify options for said cookie within config for auth, e.g.
Describe alternatives you've considered
No response