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

Added email verification to signup workflow, integrated auth api from backend. #153

Merged
merged 4 commits into from
Sep 8, 2020

Conversation

thai-truong
Copy link
Collaborator

Now frontend just needs to call createNewUser() from
src/services/AuthService to start the signup workflow, then finishes it
off with email verif. being handled in frontend.

… backend.

Now frontend just needs to call createNewUser() from
src/services/AuthService to start the signup workflow, then finishes it
off with email verif. being handled in frontend.
@thai-truong thai-truong added the feature Build in something new label Sep 6, 2020
@thai-truong thai-truong requested a review from a team September 6, 2020 21:36
@thai-truong thai-truong self-assigned this Sep 6, 2020
@netlify
Copy link

netlify bot commented Sep 6, 2020

Deploy preview for hknucsd-portal-dev ready!

Built with commit 2b73995

https://deploy-preview-153--hknucsd-portal-dev.netlify.app

setSubmitting(false);
setSubmitting(false);
} catch {
// TODO: Let user know that an account has already been made with the email they provided
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it would be better to isolate the calls into individual try catch blocks so we can see if createNewUser failed, or if verification email failed

5.0.0-beta2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:sadge:

godwinpang
godwinpang previously approved these changes Sep 8, 2020
@thai-truong thai-truong merged commit 294a01c into dev Sep 8, 2020
@thai-truong thai-truong linked an issue Sep 8, 2020 that may be closed by this pull request
godwinpang pushed a commit that referenced this pull request Sep 20, 2020
… backend. (#153)

* Added email verification to signup workflow, integrated auth api from backend.

Now frontend just needs to call createNewUser() from
src/services/AuthService to start the signup workflow, then finishes it
off with email verif. being handled in frontend.

* Added try catch for calls to a firebase service in signup's handleSubmit.

* Fixed duplicate imports in SignUpPage.
@godwinpang godwinpang deleted the email_verification branch September 20, 2020 22:09
thai-truong added a commit that referenced this pull request Oct 3, 2020
… backend. (#153)

* Added email verification to signup workflow, integrated auth api from backend.

Now frontend just needs to call createNewUser() from
src/services/AuthService to start the signup workflow, then finishes it
off with email verif. being handled in frontend.

* Added try catch for calls to a firebase service in signup's handleSubmit.

* Fixed duplicate imports in SignUpPage.

Rebase modal_refactor's 3 commits onto master (in progress)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Build in something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send email through firebase api
2 participants