File tree Expand file tree Collapse file tree 4 files changed +46
-6
lines changed
docs/post-authentication/session-management/session-invalidation Expand file tree Collapse file tree 4 files changed +46
-6
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,7 @@ import { superTokensNextWrapper } from 'supertokens-node/nextjs'
344
344
import { verifySession } from " supertokens-node/recipe/session/framework/express" ;
345
345
import { SessionRequest } from " supertokens-node/framework/express" ;
346
346
347
+ // The following example uses the NextJS Page Router configuration
347
348
// highlight-start
348
349
export default async function someapi(req : SessionRequest , res : any ) {
349
350
await superTokensNextWrapper (
Original file line number Diff line number Diff line change @@ -49,7 +49,13 @@ export function AppInfoForm() {
49
49
configure. To learn more about what each field means check the{ " " }
50
50
< a href = "/docs/thirdpartyemailpassword/appinfo" > references page</ a > .
51
51
</ Text >
52
- < Grid columns = "repeat(2, 1fr)" gap = "4" >
52
+ < Grid
53
+ columns = { {
54
+ initial : "repeat(1, 1fr)" ,
55
+ lg : "repeat(2, 1fr)" ,
56
+ } }
57
+ gap = "4"
58
+ >
53
59
< Form . Field name = "appName" asChild >
54
60
< Flex gap = "1" direction = "column" >
55
61
< Form . Label >
@@ -73,7 +79,13 @@ export function AppInfoForm() {
73
79
</ Form . Field >
74
80
</ Grid >
75
81
< Separator size = "4" my = "2" />
76
- < Grid columns = "repeat(2, 1fr)" gap = "4" >
82
+ < Grid
83
+ columns = { {
84
+ initial : "repeat(1, 1fr)" ,
85
+ lg : "repeat(2, 1fr)" ,
86
+ } }
87
+ gap = "4"
88
+ >
77
89
< Form . Field name = "apiDomain" asChild >
78
90
< Flex gap = "1" direction = "column" >
79
91
< Form . Label >
Original file line number Diff line number Diff line change @@ -67,7 +67,14 @@ function ExampleAppFormRoot() {
67
67
Update the form based on your tech stack and requirements. Once
68
68
you're done, copy the command and run it in your terminal.
69
69
</ Text >
70
- < Grid columns = "repeat(2, 1fr)" mt = "2" gap = "4" >
70
+ < Grid
71
+ columns = { {
72
+ initial : "repeat(1, 1fr)" ,
73
+ lg : "repeat(2, 1fr)" ,
74
+ } }
75
+ mt = "2"
76
+ gap = "4"
77
+ >
71
78
< Form . Field name = "appName" asChild >
72
79
< Flex gap = "1" direction = "column" >
73
80
< Form . Label >
@@ -120,7 +127,13 @@ function ExampleAppFormRoot() {
120
127
</ Flex >
121
128
</ Form . Field >
122
129
</ Grid >
123
- < Grid columns = "repeat(2, 1fr)" gap = "4" >
130
+ < Grid
131
+ columns = { {
132
+ initial : "repeat(1, 1fr)" ,
133
+ lg : "repeat(2, 1fr)" ,
134
+ } }
135
+ gap = "4"
136
+ >
124
137
< Form . Field name = "frontendFramework" asChild >
125
138
< Flex gap = "1" direction = "column" >
126
139
< Form . Label >
Original file line number Diff line number Diff line change @@ -87,7 +87,14 @@ export function SDKCompatibilityTable() {
87
87
available versions.
88
88
</ Text >
89
89
< Separator size = "4" mt = "3" mb = "1" />
90
- < Grid columns = "repeat(2, 1fr)" gap = "4" mt = "2" >
90
+ < Grid
91
+ columns = { {
92
+ initial : "repeat(1, 1fr)" ,
93
+ lg : "repeat(2, 1fr)" ,
94
+ } }
95
+ gap = "4"
96
+ mt = "2"
97
+ >
91
98
< Form . Field name = "backend-sdk" asChild >
92
99
< Flex gap = "1" direction = "column" >
93
100
< Form . Label >
@@ -150,7 +157,14 @@ export function SDKCompatibilityTable() {
150
157
</ Card >
151
158
</ Box >
152
159
153
- < Grid columns = "repeat(2, 1fr)" gap = "4" mt = "5" >
160
+ < Grid
161
+ columns = { {
162
+ initial : "repeat(1, 1fr)" ,
163
+ lg : "repeat(2, 1fr)" ,
164
+ } }
165
+ gap = "4"
166
+ mt = "5"
167
+ >
154
168
< Box px = "5" py = "5" asChild >
155
169
< Form . Root asChild >
156
170
< ScrollArea
You can’t perform that action at this time.
0 commit comments