Are you able to see 2 separate login events in your dashboard logs (monitoring → logs)?
There is only one login event when I check the log, but I think the code was executed again during the silent auth.
Could you move this to a pre user registration action instead? It might be a good use case for it.
For putting it in pre user registration, what if the user’s registration wasn’t successful and the email provided wasn’t valid? Then in this case the Stripe customer creation wouldn’t make sense in the pre user registration right?