Skip to content

Commit

Permalink
Merge branch 'canary' into fix/ssg-router-refresh-preview-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Nov 2, 2021
2 parents b7fb4f7 + 597594d commit 2d3c359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/with-supertokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"next": "latest",
"react": "17.0.1",
"react-dom": "17.0.1",
"supertokens-auth-react": "^0.16.0",
"supertokens-node": "^7.3.0"
"supertokens-auth-react": "^0.17.0",
"supertokens-node": "^8.0.0"
},
"devDependencies": {
"eslint-config-next": "11.0.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-supertokens/pages/api/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export default async function user(req, res) {
note: 'Fetch any data from your application for authenticated user after using verifySession middleware',
userId: req.session.getUserId(),
sessionHandle: req.session.getHandle(),
userDataInJWT: req.session.getJWTPayload(),
accessTokenPayload: req.session.getAccessTokenPayload(),
})
}

0 comments on commit 2d3c359

Please sign in to comment.