I managed it with a page on load workflow: First get the MagicLink verified, then Modify the Xano Auth Access Token and Related Cookie and then Fetch the user again:
I got the tips from this post:
@aurelie @Joyce (Just moving this here to get into the right thread)
I have an endpoint that returns an authToken. I’d like to login the user on WeWeb at that point. Currently, no action exists to login to WeWeb front end with an authToken.
I have the following set up:
variables[/* xanoAuth accessToken */ 'f58 ... 4e1-accessToken'] = context.workflow['536 ... c8f6'].result['auth_token']
window.vm.config.globalProperties.$cookie.setCookie("ww-auth-access-token", context.workflow['536 ... c8f6…
Rgds.
Pat
1 Like