Describe the bug
The app crashes after I enter my site credentials in the store address login flow. cc @ctarda
To Reproduce
Steps to reproduce the behavior:
Result: Crash!
Expected
I expect to end up on a screen asking me to log in to my connected WordPress.com account.
Mobile Environment
Please include:
Sentry issue: WOOCOMMERCE-IOS-1CJJ
The crash happens on the WooCommerce side (which is good because it is not due to changes to Authenticator)
The crash is due to a fatalError("Self Hosted sites are not supported. Please review the Authenticator settings!") in AuthenticationManager's func sync(credentials: AuthenticatorCredentials, onCompletion: @escaping () -> Void)
@Garance91540 That means that, until now, we have not supported logging in with a self hosted site.
In fact, if I try to log in to a self-hosted site with the version of the app currently in the App Store, I get this error:
So, do we support logging in to self-hosted sites? If we don't, should be present an error like this, but with different copy?:

Another possibility is: when WPauthenticator calls AuthenticationManager's shouldPresentUsernamePasswordController, present a custom error if isSelfHosted == true
Hi @ctarda ! I think we support self-hosted site, at least I've been able to log in with mine so far. I think there's a potential confusion here: This screen should be shown if the site doesn't have WP installed, but it can totally be a self-hosted site.
I ran into this crash after logging out then back in to a Jetpack-connected site after upgrading from 4.7.0.0 to 5.7.0.1 (both are TestFlight betas) and trying to use the "Enter Your Store Address" flow.
Video: 1m5s

Tested with iPhone 6S, iOS 13.7, WooCommerce app version 5.7.0.1 (TestFlight beta)
Site & device details:
(internal references: App Store Connect Crash Feedback, Sentry)
So, do we support logging in to self-hosted sites? If we don't, should be present an error like this, but with different copy?
I think there may be some confusion around what a self-hosted site means.
@ctarda my understanding is that the WooCommerce apps do not support self-hosted sites unless the site has Jetpack installed and connected. However, we should discuss this in a separate issue. If the self-hosted site you tested did not have Jetpack installed or connected, you should have seen a screen like this before you are prompted for a username and password:
Tested using iPhone 6S iOS 13.7 WooCommerce 5.7.0.1 (TestFlight beta) on a site running WordPress 5.6 (charming-rook.jurassic.ninja) with no plugins installed.
@Garance91540 in the past, we have used "self-hosted" to refer to sites that have WordPress installed but do not have Jetpack installed. Technically, a Jetpack site could be considered self-hosted but in my experience at Automattic we've referred to self-hosted sites with Jetpack sites installed as just Jetpack sites (though this may be changing as I have noticed others referring to Jetpack sites as self-hosted sites lately 馃檪).
@Garance91540 in the past, we have used "self-hosted" to refer to sites that have WordPress installed but do not have Jetpack installed. Technically, a Jetpack site could be considered self-hosted but in my experience at Automattic we've referred to self-hosted sites with Jetpack sites installed as just Jetpack sites (though this may be changing as I have noticed others referring to Jetpack sites as self-hosted sites lately 馃檪).
Thank you for explaining this @designsimply ! I've been assuming self-hosted sites meant sites that weren't hosted on WordPress.com
I'm sorry I didn't clarify this in my original report, but this crash happens with any self-hosted site (any site not hosted on WordPress.com), including self-hosted sites with Jetpack connected (where you should be able to log in to the app).
This might have been fixed by #3426
To recap:
Closing for now.
Most helpful comment
To recap: