File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
emailpassword/nextjs/app-directory
passwordless/nextjs/app-directory
thirdpartyemailpassword/nextjs/app-directory
thirdpartypasswordless/nextjs/app-directory
thirdparty/nextjs/app-directory Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const appInfo = {
109
109
110
110
## 4) Create a frontend config function
111
111
112
- ```tsx title = " app/config/frontend.ts "
112
+ ```tsx title = " app/config/frontend.tsx "
113
113
import EmailPasswordReact from ' supertokens-auth-react/recipe/emailpassword'
114
114
import SessionReact from ' supertokens-auth-react/recipe/session'
115
115
// @ts-ignore
@@ -154,7 +154,7 @@ export const frontendConfig = (): SuperTokensConfig => {
154
154
155
155
## 4) Create a frontend config function
156
156
157
- ```tsx title="app/config/frontend.ts "
157
+ ```tsx title="app/config/frontend.tsx "
158
158
import EmailPasswordWebJs from 'supertokens-web-js/recipe/emailpassword'
159
159
import SessionWebJs from 'supertokens-web-js/recipe/session'
160
160
// @ts-ignore
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const appInfo = {
113
113
114
114
## 4) Create a frontend config function
115
115
116
- ```tsx title = " app/config/frontend.ts "
116
+ ```tsx title = " app/config/frontend.tsx "
117
117
import PasswordlessReact from ' supertokens-auth-react/recipe/passwordless'
118
118
import SessionReact from ' supertokens-auth-react/recipe/session'
119
119
// @ts-ignore
@@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => {
160
160
161
161
## 4) Create a frontend config function
162
162
163
- ```tsx title="app/config/frontend.ts "
163
+ ```tsx title="app/config/frontend.tsx "
164
164
import PasswordlessWebJs from 'supertokens-web-js/recipe/passwordless'
165
165
import SessionWebJs from 'supertokens-web-js/recipe/session'
166
166
// @ts-ignore
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const appInfo = {
109
109
110
110
## 4) Create a frontend config function
111
111
112
- ```tsx title = " app/config/frontend.ts "
112
+ ```tsx title = " app/config/frontend.tsx "
113
113
import ThirdPartyReact, { Google , Facebook } from ' supertokens-auth-react/recipe/thirdparty'
114
114
import SessionReact from ' supertokens-auth-react/recipe/session'
115
115
// @ts-ignore
@@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => {
163
163
164
164
## 4) Create a frontend config function
165
165
166
- ```tsx title="app/config/frontend.ts "
166
+ ```tsx title="app/config/frontend.tsx "
167
167
import ThirdPartyWebJs from 'supertokens-web-js/recipe/thirdparty'
168
168
import SessionWebJs from 'supertokens-web-js/recipe/session'
169
169
// @ts-ignore
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const appInfo = {
109
109
110
110
## 4) Create a frontend config function
111
111
112
- ```tsx title = " app/config/frontend.ts "
112
+ ```tsx title = " app/config/frontend.tsx "
113
113
import ThirdPartyEmailPasswordReact from ' supertokens-auth-react/recipe/thirdpartyemailpassword'
114
114
import SessionReact from ' supertokens-auth-react/recipe/session'
115
115
// @ts-ignore
@@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => {
163
163
164
164
## 4) Create a frontend config function
165
165
166
- ```tsx title="app/config/frontend.ts "
166
+ ```tsx title="app/config/frontend.tsx "
167
167
import ThirdPartyEmailPasswordWebJs from 'supertokens-web-js/recipe/thirdpartyemailpassword'
168
168
import SessionWebJs from 'supertokens-web-js/recipe/session'
169
169
// @ts-ignore
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const appInfo = {
113
113
114
114
## 4) Create a frontend config function
115
115
116
- ```tsx title = " app/config/frontend.ts "
116
+ ```tsx title = " app/config/frontend.tsx "
117
117
import ThirdPartyPasswordlessReact from ' supertokens-auth-react/recipe/thirdpartypasswordless'
118
118
import SessionReact from ' supertokens-auth-react/recipe/session'
119
119
// @ts-ignore
@@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => {
160
160
161
161
## 4) Create a frontend config function
162
162
163
- ```tsx title="app/config/frontend.ts "
163
+ ```tsx title="app/config/frontend.tsx "
164
164
import ThirdPartyPasswordlessWebJs from 'supertokens-web-js/recipe/thirdpartypasswordless'
165
165
import SessionWebJs from 'supertokens-web-js/recipe/session'
166
166
// @ts-ignore
You can’t perform that action at this time.
0 commit comments