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
I think this may be related to a bug I just filed where validateCustomClaims is only called once in the component tree and subsequent calls return the same result #514
Version info
React: 17.0.2
Firebase: 9.6.1
ReactFire: 4.2.1
Other (e.g. Node, browser, operating system) (if applicable):
Test case
Steps to reproduce
Add the above call to a React component and login a user with custom claims that match the condition. Trigger a re-render on the above component.
Expected behavior
Value of
hasRequiredClaims
changes after user is logged in to accurately reflect condition.Actual behavior
Value of
hasRequiredClaims
does not change even after the component is re-rendered.The text was updated successfully, but these errors were encountered: