You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Provider` or `ReCaptchaEnterpriseProvider`<!---->, but can be used in Node.js if you use `CustomProvider` and write your own attestation method.
Copy file name to clipboardExpand all lines: docs-devsite/auth.md
+28
Original file line number
Diff line number
Diff line change
@@ -442,6 +442,8 @@ Returns a [UserCredential](./auth.usercredential.md#usercredential_interface) fr
442
442
443
443
If sign-in succeeded, returns the signed in user. If sign-in was unsuccessful, fails with an error. If no redirect operation was called, returns `null`<!---->.
444
444
445
+
This method does not work in a Node.js environment.
446
+
445
447
<b>Signature:</b>
446
448
447
449
```typescript
@@ -497,6 +499,8 @@ If initializeRecaptchaConfig() is not invoked, the auth flow will always start w
497
499
498
500
Thus, by calling this optional method, you will reduce the latency of future auth flows. Loading the reCAPTCHA config early will also enhance the signal collected by reCAPTCHA.
499
501
502
+
This method does not work in a Node.js environment.
503
+
500
504
<b>Signature:</b>
501
505
502
506
```typescript
@@ -694,6 +698,8 @@ Changes the type of persistence on the [Auth](./auth.auth.md#auth_interface) ins
694
698
695
699
This makes it easy for a user signing in to specify whether their session should be remembered or not. It also makes it easier to never persist the `Auth` state for applications that are shared by other users or have sensitive data.
696
700
701
+
This method does not work in a Node.js environment.
702
+
697
703
<b>Signature:</b>
698
704
699
705
```typescript
@@ -877,6 +883,8 @@ This method sends a code via SMS to the given phone number, and returns a [Confi
877
883
878
884
For abuse prevention, this method also requires a [ApplicationVerifier](./auth.applicationverifier.md#applicationverifier_interface)<!---->. This SDK includes a reCAPTCHA-based implementation, [RecaptchaVerifier](./auth.recaptchaverifier.md#recaptchaverifier_class)<!---->. This function can work on other platforms that do not support the [RecaptchaVerifier](./auth.recaptchaverifier.md#recaptchaverifier_class) (like React Native), but you need to use a third-party [ApplicationVerifier](./auth.applicationverifier.md#applicationverifier_interface) implementation.
879
885
886
+
This method does not work in a Node.js environment.
887
+
880
888
<b>Signature:</b>
881
889
882
890
```typescript
@@ -913,6 +921,8 @@ Authenticates a Firebase client using a popup-based OAuth authentication flow.
913
921
914
922
If succeeds, returns the signed in user along with the provider's credential. If sign in was unsuccessful, returns an error object containing additional information about the error.
915
923
924
+
This method does not work in a Node.js environment.
925
+
916
926
<b>Signature:</b>
917
927
918
928
```typescript
@@ -953,6 +963,8 @@ Authenticates a Firebase client using a full-page redirect flow.
953
963
954
964
To handle the results and errors for this operation, refer to [getRedirectResult()](./auth.md#getredirectresult)<!---->. Follow the [best practices](https://firebase.google.com/docs/auth/web/redirect-best-practices) when using [signInWithRedirect()](./auth.md#signinwithredirect)<!---->.
955
965
966
+
This method does not work in a Node.js environment.
Links the user account with the given phone number.
1206
1218
1219
+
This method does not work in a Node.js environment.
1220
+
1207
1221
<b>Signature:</b>
1208
1222
1209
1223
```typescript
@@ -1228,6 +1242,8 @@ Links the authenticated provider to the user account using a pop-up based OAuth
1228
1242
1229
1243
If the linking is successful, the returned result will contain the user and the provider's credential.
1230
1244
1245
+
This method does not work in a Node.js environment.
1246
+
1231
1247
<b>Signature:</b>
1232
1248
1233
1249
```typescript
@@ -1264,6 +1280,8 @@ Links the [OAuthProvider](./auth.oauthprovider.md#oauthprovider_class) to the us
1264
1280
1265
1281
To handle the results and errors for this operation, refer to [getRedirectResult()](./auth.md#getredirectresult)<!---->. Follow the [best practices](https://firebase.google.com/docs/auth/web/redirect-best-practices) when using [linkWithRedirect()](./auth.md#linkwithredirect)<!---->.
1266
1282
1283
+
This method does not work in a Node.js environment.
1284
+
1267
1285
<b>Signature:</b>
1268
1286
1269
1287
```typescript
@@ -1349,6 +1367,8 @@ Re-authenticates a user using a fresh phone credential.
1349
1367
1350
1368
Use before operations such as [updatePassword()](./auth.md#updatepassword) that require tokens from recent sign-in attempts.
1351
1369
1370
+
This method does not work in a Node.js environment.
1371
+
1352
1372
<b>Signature:</b>
1353
1373
1354
1374
```typescript
@@ -1373,6 +1393,8 @@ Reauthenticates the current user with the specified [OAuthProvider](./auth.oauth
1373
1393
1374
1394
If the reauthentication is successful, the returned result will contain the user and the provider's credential.
1375
1395
1396
+
This method does not work in a Node.js environment.
1397
+
1376
1398
<b>Signature:</b>
1377
1399
1378
1400
```typescript
@@ -1409,6 +1431,8 @@ Reauthenticates the current user with the specified [OAuthProvider](./auth.oauth
1409
1431
1410
1432
To handle the results and errors for this operation, refer to [getRedirectResult()](./auth.md#getredirectresult)<!---->. Follow the [best practices](https://firebase.google.com/docs/auth/web/redirect-best-practices) when using [reauthenticateWithRedirect()](./auth.md#reauthenticatewithredirect)<!---->.
1411
1433
1434
+
This method does not work in a Node.js environment.
1435
+
1412
1436
<b>Signature:</b>
1413
1437
1414
1438
```typescript
@@ -1585,6 +1609,8 @@ Promise<void>
1585
1609
1586
1610
Updates the user's phone number.
1587
1611
1612
+
This method does not work in a Node.js environment.
0 commit comments