Double Execution of Workflow

Hi everyone,

I have created a web application with Strapi as a CMS. For authentication, I am using a magic link method. This method sends the user the Login Link via email, and on clicking the link, the user is redirected to the “Redirect Page,” on which I have added the following workflow to authenticate the user on Page load and then redirect them to the Home Page.

For some users, after navigating to the Home Page, the workflow triggers again automatically, but the New JWT token is not saved in the Client Browser.

How can I make sure that Workflow or the LoginAPI should not trigger a second time?