14b7b37a84
Updates the with-supertokens example to replace `getSSRSession` usage with manual JWT parsing in SSR as shown in https://github.com/supertokens/create-supertokens-app/pull/107 Co-authored-by: Sam Ko <sam@vercel.com>
27 lines
585 B
JSON
27 lines
585 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"jsonwebtoken": "^9.0.2",
|
|
"jwks-rsa": "^3.1.0",
|
|
"next": "latest",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"supertokens-auth-react": "latest",
|
|
"supertokens-node": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cookie": "^0.5.2",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "13.5.4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|