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
|`currentUser`|`firebase.User`|No |The logged in user. |
223
+
|`credential`|`firebase.auth.AuthCredential`|Yes |he credential used to sign in the user. |
224
+
|`redirectUrl`|`string`|Yes |The URL where the user is redirected after the callback finishes. It will only be given if you [overwrite the sign-in success URL](#overwriting-the-sign-in-success-url).|
223
225
224
-
If the callback returns true, then the page is automatically redirected depending on the case:
226
+
**Should return: `boolean`**
227
+
228
+
If the callback returns `true`, then the page is automatically redirected depending on the case:
225
229
226
230
- If no `signInSuccessUrl` parameter was given in the URL (See:
227
231
[Overwriting the sign-in success URL](#overwriting-the-sign-in-success-url)) then the default
228
232
`signInSuccessUrl` in config is used.
229
233
- If the value is provided in the URL, that value will be used instead of the static
230
234
`signInSuccessUrl` in config.
231
235
232
-
If the callback returns false or nothing, the page is not automatically redirected.
236
+
If the callback returns `false` or nothing, the page is not automatically redirected.
233
237
234
238
235
239
### Example with all parameters used
@@ -275,7 +279,6 @@ If the callback returns false or nothing, the page is not automatically redirect
275
279
}
276
280
};
277
281
278
-
279
282
// Initialize the FirebaseUI Widget using Firebase.
0 commit comments