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

Uabc 248 create forgot password flow #277

Merged
merged 11 commits into from
Oct 8, 2024

Conversation

monoclonalAb
Copy link
Contributor

closes #248

src/hooks/query/email.ts Outdated Show resolved Hide resolved
src/emails/components/ForgotPasswordEmail.tsx Outdated Show resolved Hide resolved
src/services/forgot-password.ts Outdated Show resolved Hide resolved
src/lib/utils/queryKeys.ts Outdated Show resolved Hide resolved
src/hooks/mutations/reset-password.ts Outdated Show resolved Hide resolved
src/components/auth/EmailResetPassword.tsx Outdated Show resolved Hide resolved
src/components/auth/EmailResetPassword.tsx Outdated Show resolved Hide resolved
src/components/auth/EmailResetPassword.tsx Outdated Show resolved Hide resolved
src/app/api/auth/reset-password/route.ts Outdated Show resolved Hide resolved
src/app/api/auth/reset-password/route.ts Outdated Show resolved Hide resolved
src/app/api/auth/reset-password/route.ts Show resolved Hide resolved
src/app/api/auth/reset-password/route.ts Outdated Show resolved Hide resolved
src/app/api/auth/reset-password/route.ts Outdated Show resolved Hide resolved
src/emails/components/ForgotPasswordEmail.tsx Outdated Show resolved Hide resolved
src/emails/index.ts Outdated Show resolved Hide resolved
src/services/forgot-password.ts Outdated Show resolved Hide resolved
monoclonalAb and others added 8 commits October 8, 2024 17:20
…, be able to enter in email address, validate that email address is valid, send an email containing link to forget password page (accounting for edge cases) and the forget password page
* moved reset token verification to server-side
* altered the email content
* renamed reset password form component
- restyled reset-password form
- added middleware for handling auth routing to form
- added page grouping
- added detailed error toasts
- refactored play-level frontend to use mutation
- Update the list of allowed routes in the middleware to include "/auth/:path*"
- Correct the link in the ForgotPasswordEmail component
- Update the reset password token verification to hash the token before comparing
- Update the admin page to use absolute URLs for the dashboard buttons
- Update the ResetPasswordForm component to import Link from "next/link" and add a toast action to request a new password reset
- Update the ResetPasswordPage component to display an error card if the reset token is invalid or expired
- Linted everything
@dyzhuu dyzhuu merged commit b5dcf03 into main Oct 8, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

[Feature] Create forgot password flow
2 participants