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'm trying to approve my app some so the user does not have to reload the page after signing in.
After you sign in with the method auth().signInWithPopup(provider) in row 15 in auth.js nothing happens as it seems the user (this.$store.getters['auth/getUser']) does not react. I think it is because of the promise returned from auth().signInWithPopup(provider) is not handled, but I'm not sure. What would you say?
EDIT: I think my issue lies somewhere else actually. The user property of auth does get set after login. But components computed using the user property don't react on it.
The computed users property is null because unauthorized users don't have read access, but if I reload the page after authenticated the users list is retrieved. So the question is, how do recompute all computed values after auth user is changed?
Best regards, Tim
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to approve my app some so the user does not have to reload the page after signing in.
After you sign in with the method
auth().signInWithPopup(provider)
in row 15 in auth.js nothing happens as it seems the user (this.$store.getters['auth/getUser']
) does not react. I think it is because of the promise returned fromauth().signInWithPopup(provider)
is not handled, but I'm not sure. What would you say?EDIT: I think my issue lies somewhere else actually. The
user
property of auth does get set after login. But components computed using the user property don't react on it.The computed
users
property is null because unauthorized users don't have read access, but if I reload the page after authenticated the users list is retrieved. So the question is, how do recompute all computed values after auth user is changed?Best regards, Tim
The text was updated successfully, but these errors were encountered: