Unverified Commit 39318883 authored by Rishabh Poddar's avatar Rishabh Poddar Committed by GitHub

Update to with-supertokens example (#35991)

* add-supertokens-to-authentication.md

* bump supertokens deps

* update SuperTokens Auth doc

* Update docs/authentication.md
Co-authored-by: 's avatarLee Robinson <me@leerob.io>

* Update docs/authentication.md
Co-authored-by: 's avatarLee Robinson <me@leerob.io>

* updates supertokens dependency and optimises for serverless execution

* runs prettier-fix

* adds supertokens to 'Bring Your Own Database' section as well

* does not show home page if not logged in

* extracts config into its own file and calls it in all serverless functions

* removes need for backend init in app.jsx

* simplifies use of dynamic

* refreshes page after getServerSideProps

* removes unnecessary check in API

* update to docs pertaining SuperTokens

* adds placeholder secrets so that the UI loads on first run

* changes to readme

* updates version of supertokens frontend and backend SDK, and a few other fixes

* Update docs/authentication.md
Co-authored-by: 's avatarLee Robinson <me@leerob.io>

* updates to readme for supertokens example

* updates version of dependency

* updates dependency version

* updates to dependencies

* removes unnecessary config on frontend

* changes how redirection is done post signout

* update to dependency

* updates examples

* updates code to use for new package

* updates dependencies

* updates auth-react package

* with-supertokens example updated to use supertokens-node v7

* updates dependency

* updates supertokens-node version

* Update examples/with-supertokens/package.json
Co-authored-by: 's avatarLee Robinson <me@leerob.io>

* updates based on check-examples.sh script

* linter fix

* updates supertokens-auth-react dependency version

* adds development OAuth key to example

* removes section from README

* removes unnecessary file

* updates dependency versions

* with-supertokens: reduced bundle size by removing node lib from bundle

Linting fix

* Removed accidentally added config file

* adds sign in with apple

* extracted oauth keys to .env file

* fixes node init issue race condition

* removes unnecessary file

* updates supertokens-auth-react dependency

* updates superttokens-node dependency

* adds a cap to react dependency

* updates eslint-config-next version

* removes unnecessary dev dependency

* updates to latest version of supertokens-auth-react SDK

* Updated nextjs in supertokens example

* Update examples/with-supertokens/package.json

* Update examples/with-supertokens/package.json

* Update package.json

* Update examples/with-supertokens/package.json
Co-authored-by: 's avatarBalázs Orbán <info@balazsorban.com>

* Update examples/with-supertokens/package.json
Co-authored-by: 's avatarBalázs Orbán <info@balazsorban.com>
Co-authored-by: 's avatarNkxxkN <kevin@supertokens.io>
Co-authored-by: 's avatarNkxxkN <kevin.antoine@protonmail.com>
Co-authored-by: 's avatarLee Robinson <me@leerob.io>
Co-authored-by: 's avatarRishabh <rishabh@supertokens.io>
Co-authored-by: 's avatarBhumil Sarvaiya <sarvaiyabhumil@gmail.com>
Co-authored-by: 's avatarjscyo <joelsteve97@hotmail.com>
Co-authored-by: 's avatarMihaly Lengyel <mihaly.lengyel@tresorit.com>
Co-authored-by: 's avatarBalázs Orbán <info@balazsorban.com>
parent 5bf7265c
......@@ -23,12 +23,10 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
.env*.local
# vercel
.vercel
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}
module.exports = nextConfig
......@@ -7,9 +7,9 @@
},
"dependencies": {
"next": "latest",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"supertokens-auth-react": "^0.19.0",
"supertokens-node": "^9.0.0"
"react": "^18.0.0",
"react-dom": "^18.0.0",
"supertokens-auth-react": "^0.20.2",
"supertokens-node": "^9.1.1"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment