Skip to content

Commit 33e77b5

Browse files
RaphaelJennibojeil-google
authored andcommitted
Update README.md - isPendingRedirect (#313)
* Update README.md Fixed isPendingRedirect documentation
1 parent 380fca6 commit 33e77b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,14 @@ for a more in-depth example, showcasing a Single Page Application mode.
208208
</html>
209209
```
210210

211+
**This is only relevant for single page apps or apps where the sign-in UI is rendered conditionally (e.g. button click)**
212+
211213
When redirecting back from accountchooser.com or Identity Providers like Google
212214
and Facebook, `start()` method needs to be called to finish the sign-in flow.
215+
If it requires a user interaction to start the initial sign-in process, you need to
216+
check if there is a pending redirect operation going on on page load to check whether `start()`
217+
needs to be called.
218+
213219
To check if there is a pending redirect operation to complete a sign-in attempt,
214220
check `isPendingRedirect()` before deciding whether to render FirebaseUI
215221
via `start()`.

0 commit comments

Comments
 (0)