I’m adding to my site an option for an admin to connect as any user to troubleshoot issues. There is no standard action to log in as a user without its credentials , which I don’t want the admin to know. My solution was to use the result of the magic link action as an external url to go to on the next action.
This does not work, maybe for security reasons. But where or how can this magic link result be used and particularly where is it saved?
Is your workflow on the client side?
From the documentation:
For security reasons, this link will not be available for use on the client side
The magic link can be subsequently handled by any server side action (such as included in a custom email action) using “Result of Step N’s Send magic login link”.
thanks, I’ve read these in the docs but what’s the meaning of server side?
is it page workflows? because I tried running the magic link as external URL in the next action, getting it with “result of…”, without presenting it on any front end elements or saving it somewhere. That didn’t work.
Or does it mean backend workflows? it that case how do I get the magic link there?
If you send the email you can use this action in a page (client side) or in a backend workflow (server side).
If you select “Just create link, don’t send email” then you need to use this action in a backend workflow and the link can be used in subsequent actions in the same backend workflow.
If you need to trigger this logic from a page then you need to schedule a backend workflow where the actual logic will execute.
I hope it’s more clear.
Cheers
Mariano
Perfect explanation! thank you
Happy to help
Cheers
Mariano