Troubleshooting
The most common causes when a login code does not arrive or an unexpected message appears – and where to look. Every point on this page matches the extension's actual behaviour.
No code by email
Check in this order:
- Address registered? For security, the "code sent" message always appears – even if no customer account exists for the address. Without an account, no email is sent. Check the spelling of the address.
- Spam folder: the email may have landed in spam.
- Rate limit: more than 3 requests per minute (default) per recipient and IP are throttled; the message states the wait time in seconds. The "Resend code" button only becomes available again after 20 seconds.
- Flow active? Delivery runs through the flow "Customer login code requested". If it is deactivated or the "Send email" action removed, no email arrives – the form still shows the "code sent" message. See Emails.
No SMS arrives
- Credentials: verify the SMS provider credentials with the Verify API Credentials button directly in the provider card of the settings.
- Country not allowed: if the country code is not selected in the setting "Allow login via mobile number", the customer sees "Mobile numbers from your selected country are not allowed."
- Invalid format or landline: only valid mobile numbers are accepted. The message includes an example in the correct format for the selected country, e.g. "… use international format, e.g. '+44 7400 123456'."
- Unknown number blocked: with "Block unregistered mobile numbers", no SMS goes to unlinked numbers; the customer sees the notice "SMS login is not available for this mobile number."
- Provider error: if the request to the provider fails, "We couldn't send the login code via SMS …" appears – the error is in the error log.
The "please confirm your email" message
This message is not an error. It appears when a customer has correctly entered the SMS code for a mobile number that is not yet linked to any customer account. The login is completed by logging in with a login code by email in the same browser session within 20 minutes – which links the number to the account. Details under Linking mobile numbers.
Template or flow missing
On uninstall without Shopware's "Keep user data" option, the extension removes its email template, the flow and its database tables completely. A subsequent reinstall creates the template and flow afresh – customisations of the old template are then gone. With "Keep user data", everything remains.
If you have customised the email template and are only removing the extension temporarily, choose "Keep user data" – otherwise the customisations are lost with the template.
Where errors are logged
The extension writes errors to its own log file: var/log/cwk_quick_auth_<environment>.log (e.g. cwk_quick_auth_prod.log). The log rotates and records only errors and more severe events. For SMS problems and failed links, that is the first place to look. For support, contact support@commercewerk.de.