File tree Expand file tree Collapse file tree 2 files changed +66
-2
lines changed
v2/thirdpartypasswordless/nextjs Expand file tree Collapse file tree 2 files changed +66
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,39 @@ export const backendConfig = (): TypeInput => {
211
211
recipeList: [
212
212
ThirdPartyPasswordlessNode .init ({
213
213
flowType: " ^{form_flowType}" ,
214
- contactMethod: " ^{form_contactMethod}"
214
+ contactMethod: " ^{form_contactMethod}" ,
215
+ // We have provided you with development keys which you can use for testing.
216
+ // IMPORTANT: Please replace them with your own OAuth keys for production use.
217
+ providers: [{
218
+ config: {
219
+ thirdPartyId: " google" ,
220
+ clients: [{
221
+ clientId: " 1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com" ,
222
+ clientSecret: " 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"
223
+ }]
224
+ }
225
+ }, {
226
+ config: {
227
+ thirdPartyId: " github" ,
228
+ clients: [{
229
+ clientId: " 467101b197249757c71f" ,
230
+ clientSecret: " e97051221f4b6426e8fe8d51486396703012f5bd"
231
+ }]
232
+ }
233
+ }, {
234
+ config: {
235
+ thirdPartyId: " apple" ,
236
+ clients: [{
237
+ clientId: " 4398792-io.supertokens.example.service" ,
238
+ additionalConfig: {
239
+ keyId: " 7M48Y4RYDL" ,
240
+ privateKey:
241
+ " -----BEGIN PRIVATE KEY-----\n MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgu8gXs+XYkqXD6Ala9Sf/iJXzhbwcoG5dMh1OonpdJUmgCgYIKoZIzj0DAQehRANCAASfrvlFbFCYqn3I2zeknYXLwtH30JuOKestDbSfZYxZNMqhF/OzdZFTV0zc5u5s3eN+oCWbnvl0hM+9IW0UlkdA\n -----END PRIVATE KEY-----" ,
242
+ teamId: " YWQCXGJRJL" ,
243
+ }
244
+ }]
245
+ }
246
+ }],
215
247
}),
216
248
SessionNode .init (),
217
249
],
Original file line number Diff line number Diff line change @@ -198,7 +198,39 @@ export const backendConfig = (): TypeInput => {
198
198
recipeList: [
199
199
ThirdPartyPasswordlessNode .init ({
200
200
flowType: " ^{form_flowType}" ,
201
- contactMethod: " ^{form_contactMethod}"
201
+ contactMethod: " ^{form_contactMethod}" ,
202
+ // We have provided you with development keys which you can use for testing.
203
+ // IMPORTANT: Please replace them with your own OAuth keys for production use.
204
+ providers: [{
205
+ config: {
206
+ thirdPartyId: " google" ,
207
+ clients: [{
208
+ clientId: " 1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com" ,
209
+ clientSecret: " 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"
210
+ }]
211
+ }
212
+ }, {
213
+ config: {
214
+ thirdPartyId: " github" ,
215
+ clients: [{
216
+ clientId: " 467101b197249757c71f" ,
217
+ clientSecret: " e97051221f4b6426e8fe8d51486396703012f5bd"
218
+ }]
219
+ }
220
+ }, {
221
+ config: {
222
+ thirdPartyId: " apple" ,
223
+ clients: [{
224
+ clientId: " 4398792-io.supertokens.example.service" ,
225
+ additionalConfig: {
226
+ keyId: " 7M48Y4RYDL" ,
227
+ privateKey:
228
+ " -----BEGIN PRIVATE KEY-----\n MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgu8gXs+XYkqXD6Ala9Sf/iJXzhbwcoG5dMh1OonpdJUmgCgYIKoZIzj0DAQehRANCAASfrvlFbFCYqn3I2zeknYXLwtH30JuOKestDbSfZYxZNMqhF/OzdZFTV0zc5u5s3eN+oCWbnvl0hM+9IW0UlkdA\n -----END PRIVATE KEY-----" ,
229
+ teamId: " YWQCXGJRJL" ,
230
+ }
231
+ }]
232
+ }
233
+ }],
202
234
}),
203
235
SessionNode .init (),
204
236
],
You can’t perform that action at this time.
0 commit comments