-
Notifications
You must be signed in to change notification settings - Fork 407
Closed
Description
Hey guys,
I have a few questions / comments / requests
-
For the AuthCheck component is there any way to have (or request a future implementation) a check for emailVerified - I believe it would be quite beneficial to not render the logged-in routes if an email verification is required.
-
What is the recommended approach to handle UI updated after email verification? the AuthCheck (nor the useUser) does not listen to a change to the emailVerified value on the user.
The default firebase.auth().onAuthStateChanged will pick up on the emailVerified change with the addition of the code below, making updating the UI simple
(where the user is the return of useUser())
await user.getIdToken(true)
await user.reload()
- How can we add a server timestamp to our doc? neither firebase.firestore.Timestamp.fromDate(new Date()) nor firebase.firestore.FieldValue.serverTimestamp() seem to work on creation.
Thanks in advance!
jhuleatt
Metadata
Metadata
Assignees
Labels
No labels