Task: [Backend] Verify the credentials upon submission, return verification error if they don't #94710
Closed
3 tasks done
Labels
Automated Migration i4
[Feature] Site Migration
Features related to site migrations to WPcom
[Type] Task
Details
This issue is only for the backend.
We can probably do it in two ways.
/automated-migration
) to make sure the creds workI suggest we go with option 2 because otherwise we'll need to make two sequential calls for each submission, which will make it slow.
The background job already uses a function to login to the website. We will just reuse that function to login to the user's site. If the logging in doesn't work as expected, we'll return an error. Upon receiving this error, the frontend will show error messages and tell the user to recheck the credentials.
Checklist
Related
No response
The text was updated successfully, but these errors were encountered: