@@ -126,14 +126,19 @@ router.post(
126
126
127
127
router . post (
128
128
'/supporter-plus-cancel/:subscriptionName' ,
129
+ withOktaSeverSideValidation ,
129
130
productMoveAPI (
130
131
'supporter-plus-cancel/:subscriptionName' ,
131
132
'CANCEL_SUPPORTER_PLUS' ,
132
133
[ 'subscriptionName' ] ,
133
134
) ,
134
135
) ;
135
136
136
- router . post ( '/payment/card' , stripeSetupIntentHandler ) ;
137
+ router . post (
138
+ '/payment/card' ,
139
+ withOktaSeverSideValidation ,
140
+ stripeSetupIntentHandler ,
141
+ ) ;
137
142
router . post (
138
143
'/payment/card/:subscriptionName' ,
139
144
membersDataApiHandler (
@@ -163,10 +168,12 @@ router.post(
163
168
164
169
router . post (
165
170
'/case/:caseId?' ,
171
+ withOktaSeverSideValidation ,
166
172
cancellationSfCasesAPI ( 'case' , 'CREATE_CANCELLATION_CASE' ) ,
167
173
) ;
168
174
router . patch (
169
175
'/case/:caseId?' ,
176
+ withOktaSeverSideValidation ,
170
177
cancellationSfCasesAPI ( 'case/:caseId' , 'UPDATE_CANCELLATION_CASE' , [
171
178
'caseId' ,
172
179
] ) ,
@@ -183,6 +190,7 @@ router.post(
183
190
184
191
router . post (
185
192
'/update-supporter-plus-amount/:subscriptionName' ,
193
+ withOktaSeverSideValidation ,
186
194
productMoveAPI (
187
195
'update-supporter-plus-amount/:subscriptionName' ,
188
196
'MOVE_PRODUCT_UPDATE_AMOUNT' ,
@@ -250,6 +258,7 @@ router.get(
250
258
) ;
251
259
router . post (
252
260
'/delivery-records/:subscriptionName' ,
261
+ withOktaSeverSideValidation ,
253
262
deliveryRecordsAPI (
254
263
'delivery-records/:subscriptionName' ,
255
264
'DELIVERY_PROBLEM_CREATE' ,
@@ -297,7 +306,7 @@ router.get('/known-issues', async (_, response) => {
297
306
router . get ( '/help-centre/article/:article' , getArticleHandler ) ;
298
307
router . get ( '/help-centre/topic/:topic' , getTopicHandler ) ;
299
308
300
- router . post ( '/contact-us' , contactUsFormHandler ) ;
309
+ router . post ( '/contact-us' , withOktaSeverSideValidation , contactUsFormHandler ) ;
301
310
302
311
router . post ( '/reminders/create' , createOneOffReminderHandler ) ; // requires sign-in
303
312
router . post (
0 commit comments