-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Login] Login using Site Credentials will fail when discovery fails and permalinks are disabled #12043
Comments
Thanks for reporting! 👍 |
Just for context, we currently have 3 tickets where users are having this issue: zd-8560496, zd-8414673 and zd-8593324 |
Thanks @rossanafmenezes for the information, I checked all three tickets, and I don't think they apply to this case:
We didn't prioritize working on this issue yet because we don't think it's a high priority, as it happens only when the two conditions mentioned above apply, which should be a low chance. If we get a higher number of cases like cc @pmusolino |
I'm wondering if the report in 9152549-zen might be related to this? https://URL/wp-json in this ticket works fine however. |
@sophiegyo I don't think the above ticket is related to this, I shared some remarks in the ticket. |
Currently, the Android app doesn't support signing in using site credentials when the following conditions apply:
Link
header, or no header at all)We need to update our logic to use by default a URL in the format of
{site-url}/?rest_route=/
instead of{site-url}/wp-json/
, see https://github.com/wordpress-mobile/WordPress-FluxC-Android/blob/765928e3458599d1970115bc63affa2a9db2a93e/fluxc/src/main/java/org/wordpress/android/fluxc/network/rest/wpapi/WPAPIDiscoveryUtils.kt#L13-L16The text was updated successfully, but these errors were encountered: