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

Auth mobile&web #14

Open
MarcosMoreu opened this issue Nov 15, 2024 · 1 comment
Open

Auth mobile&web #14

MarcosMoreu opened this issue Nov 15, 2024 · 1 comment
Assignees

Comments

@MarcosMoreu
Copy link
Collaborator

I think it is confusing the way it is. A few points:

  • We agree that mobile needs phone-based auth (for users who don't have email)
  • We agree that web needs to have email-based auth
  • We know that most platforms that have a mobile & web app allow to authenticate with both phone & email, BUT it needs to be only one.
  • On the other hand, WhatsApp, which has both a web & mobile app is phone-based authentication only.

Question is "Do we want phone-based auth ONLY for mobile?" If not, then best solution is: "Enter phone or email" in both web & mobile? I know this requires changes in Kapta Mobile and we do not need to do it now.

So, FOR NOW, I think the best solution is:

  • Kapta-mobile: phone-based auth only
  • Kapta-web: email-based auth and phone as optional (but without verification code). Once authenticated and logged in (with email), then we can give the option to verify the phone number in case they are kapta mobile users. I don't see this as a priority feature though.

Agree?

@acholyn
Copy link
Collaborator

acholyn commented Nov 21, 2024

Yep, makes sense. I've made web email only for verification at present just due to some difficulties with sending the verification to both email and phone numbers; AWS puts greater emphasis on the phone number but as we've seen, this can be problematic.
https://github.com/UCL/kapta-infrastructure/pull/14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants