Support email login for customers. Customer can click on Login with Mail and they can then enter email address and their password. If the user hasn't created an account, then create one if the credentials. Furthermore, check if the email isn't already used for Google logins.
The following methods from the Android app should be implemented.
fun fetchRegisteredAuthenticationSourcesForEmail(mailAddress: String): Single<List<AuthenticationSource>>
fun createAccountWithMail(mailAddress: String, password: String): Completable
fun loginWithMail(mailAddress: String, password: String): Completable
Support email login for customers. Customer can click on
Login with Mail
and they can then enter email address and their password. If the user hasn't created an account, then create one if the credentials. Furthermore, check if the email isn't already used for Google logins.The following methods from the Android app should be implemented.