Unverified Commit 243472f3 authored by Rishabh Poddar's avatar Rishabh Poddar Committed by GitHub

Bumps version of supertokens dependencies and updates its README (#24571)

Co-authored-by: 's avatarLee Robinson <me@leerob.io>
Co-authored-by: 's avatarNkxxkN <kevin@supertokens.io>
Co-authored-by: 's avatarNkxxkN <kevin.antoine@protonmail.com>
parent fc9b48b5
......@@ -10,7 +10,7 @@ Deploy the example using [Vercel](https://vercel.com):
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
- Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
npx create-next-app --example with-supertokens with-supertokens-app
......@@ -18,8 +18,14 @@ npx create-next-app --example with-supertokens with-supertokens-app
yarn create next-app --example with-supertokens with-supertokens-app
```
- Run `yarn install`
- Run `npm run dev` to start the application on `http://localhost:3000`.
## Configuration
> Until you do this, social login will not work. But you can still try out email password sign up / in.
- Create a `.env.local` file and copy the content of `.env.local.example` into it:
```bash
......
......@@ -49,7 +49,6 @@ export let backendConfig = () => {
export let frontendConfig = () => {
return {
useReactRouterDom: false,
appInfo,
recipeList: [
ThirdPartyEmailPasswordReact.init({
......
......@@ -11,8 +11,8 @@
"next": "latest",
"react": "17.0.1",
"react-dom": "17.0.1",
"supertokens-auth-react": "^0.9.0",
"supertokens-node": "^4.3.0"
"supertokens-auth-react": "^0.12.0",
"supertokens-node": "^5.0.0"
},
"license": "MIT"
}
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