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
The text was updated successfully, but these errors were encountered:
websocket98765
changed the title
Allow dev to set Strict, SameSite, & MaxAge attributes on cookie
Allow dev to set SameSite & MaxAge attributes on cookie
Jun 18, 2022
Possible solution would be to have add something like this to the config:
cookie: {maxAge: 1234,// jwtExpires and cookie probably should be set the same automaticallysameSite: 'Strict',// 'Lax' is the browser default if unspecified according to Mozilla link abovesecure: dev ? false : true// defaults to false; dev would use `dev ? true : false` as the value most likely.}
websocket98765
changed the title
Allow dev to set SameSite & MaxAge attributes on cookie
Allow dev to set SameSite, MaxAge, & Secure attributes on cookie
Jun 18, 2022
Relevant line in sk-auth:
sk-auth/src/auth.ts
Line 133 in 4bf8cc9
Maybe also relevant? Do JWT and cookie need to be set to the same expiration?
sk-auth/src/auth.ts
Line 100 in 4bf8cc9
The text was updated successfully, but these errors were encountered: