View Site: Private sites with custom domain redirect to device browser with error
Expected behavior
Viewing a private site with a custom domain should show the user a logged-in view in the in-app browser.
Actual behavior
The in-app browser redirects to the device browser with an error:

Steps to reproduce the behavior
- Make sure you have a WordPress.com site set to private with a custom domain.
- Open it in a browser where you are logged in - it should show up the private site page.
- You'll want to set another browser as the main one where you are not logged in. Tap on View site - the first time it will show up the private page. Go back to the WordPress app and click on "View site" again, this time you'll see the Expected behavior screen.
- Doing the same previous step after seeing the error, will show up the Private page.
Tested on Huawei and Samsung Android 7 and 9.0.1, WPAndroid Alpha188
Also confirmed by a user, using Nokia 7 with Android 9.0 and Chrome 76 (asking the user for the WordPress app version)
From the user: application version is 13.1
Thanks for the report! I tested and updated the issue title and expected/actual behavior based on what I found in testing. I'm seeing different steps to reproduce than in the original report, so I'll share my steps here:
- Make sure you have a WordPress.com site set to private with a custom domain.
- Open the site in the device browser where you are logged in; the site loads.
- Log out of WordPress.com and open the site in the device browser; you see a login page.
- In the app, select "View Site" for the same site.
Result: The app starts to open the site in the in-app browser but then redirects to the device browser with the error shown in the screenshot above.
This issue has been marked as stale because:
- It has been inactive for the past year.
- It isn't in a project or a milestone.
- It hasn’t been labeled
[Pri] Blocker,[Pri] High, orgood first issue.
Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions.
I was not able to recreate this issue. Using the device browser I was logged out on all of my device browsers and my site opened in the in-app browser fine.
Closing this but we can re-open if the issue appears again.