User Story
A user may wish to sign up with email rather than Google.
Bob decides to use email because his aluminum tinfoil hat told him to.
He enters his email in and receives an email shortly after with a link. 🔗
Behind the scenes, Firebase is used with something similar to Email link Auth. 🔥
Bob clicks on the link in his email, taken to the website, and now he's signed up/auth and using the app. ⛔️
Doug comes along again and uses the same email link as Bob, but magically Doug is not allowed to use Bob's link. 🦄
Doug decides to use his own link and signs in because he's not a new user he can already see all of his data and progress currently associated with his email address/profile. 🆗
Acceptance Criteria✅
[ ] - unit test for email link auth for new user
[ ] - unit test for a returning user
[ ] - unit test for TTL (time to live) of a link (ie Doug using Bob's link), preventing link sharing
[ ] - integration test for feature; run full user story above.
Definition of Done 💯
Tests are passing
The feature allows new and returning users to use the email link to sign in
User Story A user may wish to sign up with email rather than Google.
Bob decides to use email because his aluminum tinfoil hat told him to.
He enters his email in and receives an email shortly after with a link. 🔗
Behind the scenes, Firebase is used with something similar to Email link Auth. 🔥
Bob clicks on the link in his email, taken to the website, and now he's signed up/auth and using the app. ⛔️
Doug comes along again and uses the same email link as Bob, but magically Doug is not allowed to use Bob's link. 🦄
Doug decides to use his own link and signs in because he's not a new user he can already see all of his data and progress currently associated with his email address/profile. 🆗
Acceptance Criteria✅
Definition of Done 💯