rsnext/examples/with-supertokens
Mhmdrz_a 5773c53f5f
Fix: broken npm install (#33767)
Previous versions of react and next would mismatch and result in failing `npm i`




## Bug

CRITIACAL bug:
![image](https://user-images.githubusercontent.com/23448421/151566047-29f630a7-2885-489b-aea2-c4e9a75599ee.png)
2022-01-28 15:39:26 +00:00
..
config Updates with-supertokens example to add sign in with apple (#31200) 2021-11-12 19:54:28 -06:00
pages Fixes #33153: Updating cross-references from master to main + canary (#33198) 2022-01-12 02:55:35 +01:00
public Add Supertokens example (#21384) 2021-02-15 15:41:45 -06:00
styles Add Supertokens example (#21384) 2021-02-15 15:41:45 -06:00
.env Updates with-supertokens example to add sign in with apple (#31200) 2021-11-12 19:54:28 -06:00
.gitignore Add Supertokens example (#21384) 2021-02-15 15:41:45 -06:00
package.json Fix: broken npm install (#33767) 2022-01-28 15:39:26 +00:00
README.md Updates with-supertokens example to add sign in with apple (#31200) 2021-11-12 19:54:28 -06:00

SuperTokens Example

This is a simple set up for applications protected by SuperTokens.

How to use

npx create-next-app --example with-supertokens with-supertokens-app
# or
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.

Notes

  • Take a look at SuperTokens documentation.
  • We have provided development OAuth keys for the various in build third party providers in the .env file. Feel free to use them for development purposes, but please create your own keys for production use.