File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ object.
68
68
69
69
The following example shows how to set up a sign-in screen with all supported providers.
70
70
71
+ > We recommend opening the widget in a popup window or redirecting to it, as a
72
+ > [ known issue with single page applications] ( #web-single-page-applications-are-not-fully-supported )
73
+ > may lead to a rendering bug.
74
+
71
75
``` html
72
76
<!DOCTYPE html>
73
77
<html >
@@ -222,7 +226,6 @@ If the callback returns `true`, then the page is automatically redirected depend
222
226
223
227
If the callback returns ` false ` or nothing, the page is not automatically redirected.
224
228
225
-
226
229
### Example with all parameters used
227
230
228
231
``` html
@@ -327,3 +330,10 @@ parameter.
327
330
When a user has enabled the private browsing mode in Safari, the web storage is disabled. This
328
331
currently results in an error being thrown upon Firebase Auth initialization. Therefore, when
329
332
following the snippets above, FirebaseUI will never get initialized and no UI will be displayed.
333
+
334
+ ### Web Single Page Applications are not fully supported
335
+
336
+ When re-rendering the FirebaseUI Auth widget (for instance after signing in a user, signing her out
337
+ and trying to sign her in again), it will fail with an `Uncaught Error: UI Widget is already
338
+ initialized on the page. Only one widget instance can be initialized per page.` error. We recommend
339
+ using the widget in a popup window or redirecting to it while we work on a fix for this issue.
You can’t perform that action at this time.
0 commit comments