Tips for Apple App Store Review with Passwordless Login
How to pass the Apple Store review process if your app uses passwordless login.
When you try to publish a mobile app on the Apple AppStore, there will be an App Review process. You need provide a demo user account for the reviewers to access the features of the app.
However, passwordless login via email/phone OTP cannot be used in the review because the reviewer do not have access to the email inbox or phone number of that demo account.
To work around this, you can enable "test mode" for a specific phone number or email address that allows the account to authenticate with a fixed OTP (e.g. 000000
).
How to enable "test mode"
Navigate to Advanced > Edit Config
paste the following to the yaml:
test_mode:
oob_otp:
enabled: true
rules:
- fixed_code: "000000"
regex: (\+85291231234$|me@example\.com$)
sms:
enabled: true
rules:
- suppressed: true
regex: \+85291231234$
whatsapp:
enabled: true
rules:
- suppressed: true
regex: \+85291231234$
email:
enabled: true
rules:
- suppressed: true
regex: me@example\.com$
In this example,
+85291231234
and[email protected]
will not recieve any messages.They can log in using the fixed OTP
000000
.All other users will continue to receive OTPs normally.
Last updated
Was this helpful?