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

add-supertokens-to-authentication.md #22223

Merged
merged 7 commits into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 12 additions & 0 deletions docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,18 @@ You can either use [FirebaseUI](https://github.com/firebase/firebaseui-web-react

[Userbase](https://userbase.com/) supports the static generation pattern for authentication. It's open source and allows for a high level of security with end-to-end encryption. You can learn more about it in their [official site](https://userbase.com/).

### SuperTokens

<details open>
<summary><b>Examples</b></summary>
<ul>
<li><a href="https://github.com/vercel/next.js/tree/canary/examples/with-supertokens">with-supertokens</a></li>
</ul>
</details>

[SuperTokens](https://supertokens.io) is a highly customizable, open-source solution split into modules (so you only use what you need).
SuperTokens currently supports credentials login, email verification, password reset flows, and third-party logins.

## Related

For more information on what to do next, we recommend the following sections:
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.5.1",
"supertokens-node": "^3.4.0"
"supertokens-auth-react": "^0.6.0",
leerob marked this conversation as resolved.
Show resolved Hide resolved
"supertokens-node": "^4.0.0"
},
"license": "MIT"
}
1 change: 1 addition & 0 deletions examples/with-supertokens/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const apiBasePath = '/api/auth/'
// Client Side configs.
if (typeof window !== 'undefined') {
SuperTokensReact.init({
useReactRouterDom: false,
appInfo: {
appName: 'SuperTokens Demo App',
websiteDomain,
Expand Down