Additionally, after the fetch user action fails, the token variable gets nulled out:
P.S. I’m actually not doing this for the sake of magic link - I’m doing it because the actual xano login action appears to be broken so I’ve resorted to using a request action to hit my login endpoint
Hi Alexis,
Yes, i do have the Xano Auth plugin installed.
I need the custom login for a use case of reseting a password,
to do so, i have used the “password reset” snippet and it is working great apart from the fact that when the user clickes the email link he is being redirected to the reset password page in which i have placed to JS code above. But although he is looged in on the Xano side, he is not actually loged in on weweb,
only after refreshin the page he is being “loged in” also in Weweb…
As for the workaround, where should i implimant it? with in the JS?
Thanks
Hello. I’d like to upVote that this feature (logging in via an authToken only) be added! I have the same use case as folks above…and can see other reasons why this would be handy (passwordless login for example)