Prepare a sign-in for App Store and Google Play review
App Store and Google Play reviewers need to sign in to test your application. If your usual sign-in sends a code by email or SMS, they may not be able to retrieve it, putting approval at risk. Create a dedicated user with a password and enable App review account for that user. Reviewers can then sign in without a code, even if password sign-in is disabled for everyone else.
What the stores require
- Apple's App Review Guideline 2.1 asks for demo account details if your app requires sign-in.
- Google Play's requirements for sign-in details ask for credentials that are reusable, available at all times, and that bypass 2-step verification or one-time passwords.
Before you start
Clerk doesn't turn on App review account unless all of the following are met. If you can't meet them, see alternatives to an app review account.
- The Native API is enabled for your production instance. To check, in the Clerk Dashboard, navigate to the Native applications page and ensure the Native API setting is enabled.
- Your instance doesn't require multi-factor authentication (MFA). A reviewer can't set up or complete a second factor.
- The review account has a password. You can set one when you create the account or when you enable App review account.
Clerk doesn't check whether email sign-in is enabled when you turn on App review account. Enable it on your production instance, and make sure reviewers can enter the review account's email address. Your app can offer email code sign-in to other users; the review account uses its password instead. If your app offers only SSO, such as Sign in with Google and Sign in with Apple, reviewers can't reach the password step.
If your app uses a custom sign-in screen, it must let reviewers enter the review account's password and submit a password sign-in request. A screen that only accepts an email or SMS code can't sign in the review account. See the custom email/password sign-in flow for more information.
Choose an email address for the review account
Create a new user for reviewers rather than reuse a real user's account. Give it an email address at a domain you control, such as app-review@example.com (replace example.com with your domain). Use an address that can receive email; Clerk may send sign-in notifications to it.
Create the user and turn on the setting
Use a long, random password for the review account. Reviewers share this password, and it's the only thing that protects the account.
The following example uses the Backend API to create the user, set its password, and turn on App review account in one request. This works even if your instance has password sign-in turned off.
Replace YOUR_PRODUCTION_SECRET_KEY with your production instance's , which begins with sk_live_. A development key creates the user on your development instance, where reviewers using your production app can't sign in.
Replace app-review@example.com with the address you chose and <generated_password> with the review account's password.
curl -X POST 'https://api.clerk.com/v1/users' \
-H 'Authorization: Bearer YOUR_PRODUCTION_SECRET_KEY' \
-H 'Content-Type: application/json' \
-d '{
"email_address": ["app-review@example.com"],
"password": "<generated_password>",
"app_review_account": true
}'If your instance requires other fields to sign up, such as a username or a phone number, include them in the request.
To turn on the setting for a user that already exists, send "app_review_account": true to PATCH https://api.clerk.com/v1/users/<user_id>. If the user doesn't have a password yet, include "password" in the same request.
- At the top of the Clerk Dashboard, select Users.
- If the review user doesn't exist yet, select Create user and enter its email address.
- Select the user, then select the Settings tab.
- In the User permissions section, toggle on App review account. This toggle only shows when the Native API is enabled.
- If the user doesn't have a password yet, a Password field appears. Select the generate button to fill in a random password, then copy it for your submission.
- Select Save.
To change the password later, select the user's Profile tab and, in the Password section, select Change password.
Add the credentials to your submission
Test the sign-in in a production build of your app on a fresh install before you submit it. Then give the reviewers the email address and password:
- In App Store Connect, enter them in the app version's App Review Information section.
- In Play Console, enter them in the App access declaration.
How reviewers sign in
App review account changes how Clerk handles sign-in for this user, while every other user signs in as before:
- Password is the only sign-in method Clerk offers this user, even if your instance has password sign-in turned off. Clerk's prebuilt sign-in screens ask for the password and don't send a code.
- Clerk skips the Device Trust check, so a reviewer on a new device isn't asked for a code after the password.
- The password also works in your web app, if it uses the same Clerk instance.
Anyone who enters the review account's email address can see that it signs in with a password only. This holds even with user enumeration protection turned on. It reveals nothing about other users.
Where reviewers can still get stuck
The setting covers sign-in only. Check the following before you submit:
- Reverification may block sensitive actions. App review account doesn't change reverification. If password reverification isn't available, Clerk may offer another enabled factor, such as an email or SMS code. Email links aren't supported for reverification, so a reviewer can't complete an action such as account deletion if the review account has no eligible factor. Apple reviewers often test account deletion. Before you submit, test that flow with the review account, make sure the reviewer can complete any required factor, and include instructions in your review notes.
- Protect still applies. Protect evaluates the reviewer's sign-in like any other. A protection that blocks, such as a country restriction, can block the reviewer.
- MFA still applies. If the review account has MFA enabled, Clerk still asks for the second factor. Don't enable MFA on the review account.
If you can't use an app review account
If you can't use App review account, the options below may help reviewers sign in. You still need to enable the Native API for your mobile app.
Use Bypass Device Trust on a password-enabled instance
If your instance offers password sign-in to all users, give the review account a strong password and turn on Bypass Device Trust for it. This toggle is next to App review account on the user's Settings tab. Without App review account, Clerk offers this user every sign-in method your instance allows. If your sign-in screen opens on a code, tell the reviewer in your review notes to choose the password.
Enable Test mode during review
With Test mode enabled, Clerk accepts the code 424242 for any email address that contains +clerk_test and for any phone number from +1 (XXX) 555-0100 to +1 (XXX) 555-0199. If your instance offers sign-in with an email or SMS code, create the review account with one of these, and give the reviewer the email address or phone number and the code.
Feedback
Last updated on