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

Verifier must filter verification messages coming from firebase, knowing if the verification ID is on progress or not #81

Open
andrea-dintino opened this issue Oct 9, 2024 · 0 comments

Comments

@andrea-dintino
Copy link
Contributor

The lack of a mechanism like above, produces a situation where the Verifier app keeps popping up the result of the same verification, potentially forever.

Solution:
1)
The Verifier generates a verification ID on request.
This newly created ID should be inserted in a list named "verificationIDsInProgress"
Upon finishing the verification (success or fail) the ID should be removed from the list

Upon receiving a message from Firebase, the Verifier should check if the ID is on the list:

  • if on the list: proceed with verification
  • if NOT on the list: discard

@puria please comment

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

1 participant