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

Updates for sign up demo #698

Merged
merged 18 commits into from
May 22, 2024
Merged

Updates for sign up demo #698

merged 18 commits into from
May 22, 2024

Conversation

erikguntner
Copy link
Collaborator

Closes #replace_this_text_with_the_issue_number

What changes did you make?

  • Saving the user to the database when they are invited by a coordinator.
  • Updated the /new-password endpoint to retrieve the user from the db after updating their password and add id_token to the new session cookie.
  • Updated the User type on the front end to contain a UserRole type.
  • Added functionality to redirect the user to the correct homepage based on role after signing in.
  • Moved the logic to log in with OAuth to a custom hook.
  • Generated temporary passwords to be sent when a user is invited.

Testing done for these changes

  • I went through the sign up flows for coordinators, hosts, and guests multiple times in both a staging and development environment.

@erikguntner erikguntner merged commit c25a3ae into main May 22, 2024
2 checks passed
@erikguntner erikguntner deleted the save-user-after-invite branch May 22, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants