Token after repeated sign-in
@Michal Srb I have one more question. If the user is already authorized as anonymous and when he enters his email and password, does it generate a new token or remain with the old one? Because the setAuth function doesn’t work I had to install a new function because the token changed
3 Replies
Yes I think the token would change
The anonymous sign in is not fully finished yet
(and not documented)
Well, it turns out that I didn’t run the call function, which manually overrides the new function for changing update events.
I just monitored the change in the token, if it changed, I rewrote the function
This function is triggered when I change client.setAuth forcibly if an anonymous person has logged in and registered an account email and password.
Sometimes the token disappears when you re-authorize (with an anonymous account).
Added immediate properties and now the token does not disappear
server http + client reactive