AuthCheck emailVerified check - Feature Request #230
dannybarinshtein
started this conversation in
Ideas
Replies: 2 comments
-
I came here looking for the same thing. Would be great to get verified updates from |
Beta Was this translation helpful? Give feedback.
0 replies
-
In your AuthCheck, you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would be great to have the ability to add a check for User email verification to the AuthCheckout wrapper (and potentially custom checks if use cases arise?).
Goal:
Avoid rendering App Routes and force the Auth Routes to remain if email verification is required.
Proposed Solution:
A simple prop would suffice I believe
If use cases arise could be neat adding a callback for additional checks (not sure what a good name prop would be)
Additional Notes:
The emailVerified prop would have to consider not only the initial rendering of the App but also custom email verification handlers that will reload the user within ReactFire and update the UI accordingly.
Proposed Addition:
An implementation of a useVerifyEmail hook - something along the lines of:
As it currently stands there is a behaviour I don't quite seem to understand happening with the proposed hook above. The journey looks like this:
I believe that this would need to be looked at / sorted in order for both the hook as well as the AuthCheck emailVerified addition to render properly
Beta Was this translation helpful? Give feedback.
All reactions