Magic Link getting stuck in Gmail iOS browser

I’m sending my users magic links via Postmark.

When I click the link to sign in, it opens up the Gmail browser, and so when I click the button to open in Safari, I am no longer logged in and the email token has expired.

Has anyone faced or solved this before?