You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,7 +31,7 @@ async function encryptedSession(fastify) {
31
31
cookie: {
32
32
path: '/',
33
33
httpOnly: true,
34
-
sameSite: "None",// cross-site cookies are needed for the session to work when embedded. By setting CORS to None and CSP.frame-anchestors we restrict the api calls from the browser that contain the cookies to originating from our site only.
34
+
sameSite: 'None',// cross-site cookies are needed for the session to work when embedded. By setting CORS to None and CSP.frame-anchestors we restrict the api calls from the browser that contain the cookies to originating from our site only.
35
35
partitioned: true,// use for modern isolation of third party cookies when embedded, every embedded iframe (or not embedded) gets its own cookie partition
36
36
secure: true,
37
37
maxAge: 60*60*24*7,// 7 days
@@ -44,7 +44,7 @@ async function encryptedSession(fastify) {
44
44
cookie: {
45
45
path: '/',
46
46
httpOnly: true,
47
-
sameSite: "None",// see secureSession cookie for explanation
47
+
sameSite: 'None',// see secureSession cookie for explanation
48
48
partitioned: true,// see secureSession cookie for explanation
49
49
secure: true,
50
50
maxAge: 60*60*24*7,// 7 days
@@ -54,7 +54,7 @@ async function encryptedSession(fastify) {
54
54
awaitfastify.decorateRequest(REQUEST_DECORATOR,{
55
55
getter(){
56
56
returncreateStore(this);
57
-
}
57
+
},
58
58
});
59
59
}
60
60
@@ -105,21 +105,18 @@ function createStore(request) {
0 commit comments