Ok so it appears with Microsoft Outlook corporate email any Magic links sent to login will be examined and ‘used’ - therefore expiring them before the user has the opportunity to login… frustrating.
To see this what you need to do is get the link from the magic link the client receives, copy the link out of the email and send it to you - it will look something like this:
When clicked by the user receiving the email, it break the token and they get a message about the issue, io it doesn’t do anything at all depending on the browser (so I found out)
*side note - this is the same if you try to send the links in a Whatsapp message to a user (who’s helping you test) - this does the same thing and invalidates the token.
So to fix it what I did in my case is to create the workflow for the Magic Link, but i ticked the box to create the link only.
Now in a subsequent workflow action I recreate the same email, grabbed the link from the previous workflow step and extracted the token from the url and popped this in a URL parameter pointed at an intermediary page (more next on this) rather than send the whole link in the parameter - mainly because its ugly.
Link example: website.com/redirect?key=121212121212x1123131313
On the intermediary page (redirect) I create a workflow action on page load to pause for 1 second and then I send them to an external page where I recreate the magic link url from the URL parameter and the url that is usually sent - looks like this:
{website home url} api/1.1/login-link?key=121212121212x1123131313
{website home url } is your website - use this because it adds or removed version-test etc
Ends up like this: https://website.com/version-test/api/1.1/login-link?key=121212121212x1123131313 (or without if live).
there will be refinements to this I am sure, but I needed a quick solution right now.
In the future they could change the security to follow JavaScript redirects, but I doubt it as there is an arbitrary delay, but be mindful just in case. And you could add a clickable screen, albeit annoying.
I hope this helps someone pain - lost me half a day.