Skip to content

Commit

Permalink
update sameSite attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
aksfyi committed Jul 10, 2022
1 parent ad48dc5 commit aecfead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/refreshToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const getRefreshTokenOptns = () => {
httpOnly: true,
path: "/api/v1/auth/refresh",
signed: true,
SameSite: "none",
sameSite: "strict",
};
if (configs.ENVIRONMENT === keywords.PRODUCTION_ENV) {
options.secure = true;
Expand Down

0 comments on commit aecfead

Please sign in to comment.