Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumps version of supertokens dependencies and updates its README #24571

Merged
merged 38 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7e044a9
add-supertokens-to-authentication.md
Feb 16, 2021
8e5bd92
Merge branch 'canary' into with-supertokens-example-in-docs
Feb 18, 2021
e290993
bump supertokens deps
kant01ne Feb 18, 2021
0fecb52
update SuperTokens Auth doc
kant01ne Mar 1, 2021
055047b
Merge branch 'canary' into with-supertokens-example-in-docs
Mar 1, 2021
49caedd
Update docs/authentication.md
Mar 1, 2021
a00f6a5
Update docs/authentication.md
Mar 1, 2021
fa05b78
updates supertokens dependency and optimises for serverless execution
rishabhpoddar Apr 6, 2021
0af47ee
updates with original repo
rishabhpoddar Apr 6, 2021
feab6fb
runs prettier-fix
rishabhpoddar Apr 6, 2021
5d8c319
Merge branch 'canary' into canary
rishabhpoddar Apr 6, 2021
7a50823
adds supertokens to 'Bring Your Own Database' section as well
rishabhpoddar Apr 7, 2021
05795a5
Merge branch 'canary' into canary
rishabhpoddar Apr 7, 2021
b44c159
does not show home page if not logged in
rishabhpoddar Apr 8, 2021
ca44249
extracts config into its own file and calls it in all serverless func…
rishabhpoddar Apr 8, 2021
13ad8f2
removes need for backend init in app.jsx
rishabhpoddar Apr 8, 2021
83a8369
simplifies use of dynamic
rishabhpoddar Apr 8, 2021
88f9193
Merge branch 'canary' into canary
rishabhpoddar Apr 8, 2021
39a850e
refreshes page after getServerSideProps
rishabhpoddar Apr 8, 2021
1007e80
removes unnecessary check in API
rishabhpoddar Apr 8, 2021
d0c8a19
Merge branch 'canary' into canary
rishabhpoddar Apr 8, 2021
6f05b35
update to docs pertaining SuperTokens
rishabhpoddar Apr 8, 2021
80e72e9
adds placeholder secrets so that the UI loads on first run
rishabhpoddar Apr 9, 2021
bbf27a2
changes to readme
rishabhpoddar Apr 9, 2021
52e423b
updates version of supertokens frontend and backend SDK, and a few ot…
rishabhpoddar Apr 16, 2021
93b6588
Merge branch 'canary' into canary
rishabhpoddar Apr 16, 2021
c88554b
Update docs/authentication.md
rishabhpoddar Apr 20, 2021
121c5ae
Merge branch 'canary' into canary
rishabhpoddar Apr 20, 2021
3f8906b
Merge branch 'canary' into canary
rishabhpoddar Apr 20, 2021
5c7bf78
updates to readme for supertokens example
rishabhpoddar Apr 21, 2021
472ce2c
updates version of dependency
rishabhpoddar Apr 28, 2021
3f511eb
Merge branch 'canary' into canary
rishabhpoddar Apr 28, 2021
58b5e12
Merge branch 'canary' into canary
rishabhpoddar Apr 28, 2021
d2288cc
updates dependency version
rishabhpoddar May 3, 2021
687a9cb
Merge branch 'canary' into canary
rishabhpoddar May 3, 2021
4f8a48c
updates to dependencies
rishabhpoddar May 5, 2021
8976fa2
removes unnecessary config on frontend
rishabhpoddar May 5, 2021
889f8a4
Merge branch 'canary' into canary
rishabhpoddar May 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion examples/with-supertokens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ 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
# 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`.

## 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
Expand Down
1 change: 0 additions & 1 deletion examples/with-supertokens/config/supertokensConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export let backendConfig = () => {

export let frontendConfig = () => {
return {
useReactRouterDom: false,
appInfo,
recipeList: [
ThirdPartyEmailPasswordReact.init({
Expand Down
4 changes: 2 additions & 2 deletions examples/with-supertokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}