Skip to content
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

[Mobile]: Firebase authentication with email if phone is not working #913

Open
2 tasks done
KarinBerg opened this issue Sep 28, 2024 · 0 comments
Open
2 tasks done
Assignees
Milestone

Comments

@KarinBerg
Copy link
Contributor

Is there an existing request for this feature?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

We have at least 2 or 3 mobile phone numbers in Sierra Leone which do get an internal error while "SignupCubit.signupWithPhoneNumber". See https://social-income.sentry.io/issues/5618737947/?environment=prod&project=450715419226[…]m%5D&referrer=issue-stream&statsPeriod=14d&stream_index=2

We checked this functionality in other countries like Switzerland and Germany but there it is working fine. So it looks like a local problem in Sierra Leone with the Firebase service for sending SMS verification codes.
Sandino opened a support ticket at the firebase support to check if Google has a general problem sending SMS in Sierra Leone. This ticket is still open and we do not have a final result for this.
Now, we are discussing if we can add another authentication method such as email and password, TOTP multi-factor or integrate a custom auth system which was recommended by the Firebase support.

This was the last email from the support team:

Hi Sandino,

We have investigated it and have confirmed the following key points:

Services are available in neighboring regions, indicating that the issue is not related to Google data centers.
Firebase services are healthy and stable.
The problem appears to be localized within a specific region and is affecting only certain carriers.
To ensure the safety and reliability of our services, carriers or entire regions with consistently low SMS success rates may become temporarily unavailable. To continue using Firebase Authentication in this region, I recommend considering using a different authentication method such as email and password or TOTP multi-factor. Alternatively, we also offer the ability to integrate a custom auth system.
 
Therefore, as much as I'd love to help you, we are not able to solve this.
 
Thanks,
Jonathan

Describe the solution/feature

We integrate Authenticate with Firebase Using Email Links in case of authentication with phone number is not working.

Describe alternatives you've considered

No response

Criteria for Completion

No response

Anything else?

No response

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Social Income community
@KarinBerg KarinBerg added feature mobile Issues concerning Mobile App labels Sep 28, 2024
@KarinBerg KarinBerg self-assigned this Sep 28, 2024
@KarinBerg KarinBerg added this to the App v1.1.14 milestone Sep 28, 2024
@ssandino ssandino removed feature mobile Issues concerning Mobile App labels Nov 5, 2024
@ssandino ssandino changed the title [Mobile App Feature]: Authenticate with Firebase using email links if authentication with phone number is not working [Mobile]: Firebase authentication with email if phone is not working Nov 9, 2024
@ssandino ssandino removed the flutter label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants