Skip to content

Commit

Permalink
Merge pull request #1529 from cvisionai/dev/keycloak-refresh-fixes
Browse files Browse the repository at this point in the history
Dev/keycloak refresh fixes
  • Loading branch information
jrtcppv authored Dec 21, 2023
2 parents f9354c7 + 3a55ea3 commit 8905304
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/packages/tator-js
4 changes: 3 additions & 1 deletion ui/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,10 @@ app.get('/refresh', async (req, res) => {
sameSite: "strict",
secure: true,
httpOnly: true,
path: "/media",
path: "/refresh",
}
res.cookie("refresh_token", data.refresh_token, options);
options.path = "/media";
res.cookie("access_token", data.access_token, options);
options.path = "/admin";
res.cookie("access_token", data.access_token, options);
Expand Down

0 comments on commit 8905304

Please sign in to comment.