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
When I use httponly cookie with a dynamic route, even if I set the path on setCookie, into the browser, it generates a duplicated cookie with a different path.
setCookie({ res },'refresh_token',newRefreshToken,{maxAge: REFRESH_TOKEN_EXPIRES*60*1000,httpOnly: true,path: '/',secure: false,})
Is it possible to force the path to have only one cookie generated?
This discussion was converted from issue #17182 on September 17, 2020 17:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I use httponly cookie with a dynamic route, even if I set the path on setCookie, into the browser, it generates a duplicated cookie with a different path.
Is it possible to force the path to have only one cookie generated?
Beta Was this translation helpful? Give feedback.
All reactions