{"section":"known-issues","requestedLocale":"en","requestedSlug":"loop-in-the-authentication-popup-when-the-first-payment-condition-requires-authentication","locale":"en","slug":"loop-in-the-authentication-popup-when-the-first-payment-condition-requires-authentication","path":"docs/en/known-issues/Checkout/loop-in-the-authentication-popup-when-the-first-payment-condition-requires-authentication.md","branch":"main","content":"## Summary\n\n\nThe authentication pop-up gets in loop when the first payment condition has `requiresAuthentication: true`. Continuing the purchase will only be possible if the page is reloaded.\n\n\n##\n\n## Simulation\n\n\n\n- Configure a payment condition with `requiresAuthentication: true`;\n- Make sure the payment condition is the first one;\n- Use an existing email in the checkout to be identified;\n- Go to the Payment step and the authentication pop-up;\n- Log in using one of the options and notice that the pop-up is not closed.\n\n\n##\n\n## Workaround\n\n\n\n- Change the order of the payment condition guaranteeing that the first option is not the one with `requiresAuthentication: true`;\n- Set the parameter \"defaultPaymentSystemToApplyOnUserOrderForm\" in the orderForm Configuration via API for one without authentication, such as a credit card."}