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

Implement the ResetPasswordUsingTokenTheme #10

Closed
rishabhpoddar opened this issue Oct 15, 2020 · 4 comments
Closed

Implement the ResetPasswordUsingTokenTheme #10

rishabhpoddar opened this issue Oct 15, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@rishabhpoddar
Copy link
Member

rishabhpoddar commented Oct 15, 2020

  • import { ResetPasswordUsingTokenTheme } from "supertokens-auth-react/recipe/emailpassword"
  • Themes should use a ThemeProvider which can be used to overwrite the default theme based on the passed props.
@rishabhpoddar rishabhpoddar added the enhancement New feature or request label Oct 15, 2020
@rishabhpoddar rishabhpoddar changed the title Implement the ResetPasswordTheme Implement the ResetPasswordUsingTokenTheme Oct 16, 2020
@mufassirkazi
Copy link

mufassirkazi commented Oct 16, 2020

Reset password UI

Reset password UI (524 px width of white container)

Reset password UI (420 px width of white container)

Password Rest Email

Notes

  • Rules about 524 px and 420 px white container given in sign up / sign in form apply here too.
  • Rules about brand orange color and red color given in sign up / sign in form apply here too.
  • Error states changeability given in sign up /sign in form apply here too.
  • Clicking on 'Change email' inside 'Resend/ Change email screen' takes you to 'Default reset password screen'
  • The resent confirmation message inside 'Resent screen' should be visible for 2.5 seconds only. After that it should disappear.
  • In 'Password Reset Email', the logo size has a max height of 52px and a max width of 250 px. I am okay if we don't have a max width also because logo's width can vary largely.
  • In 'Password Reset Email', the subject can be "Reset password instructions" or "Password reset request".

@rishabhpoddar
Copy link
Member Author

@mufassirkazi We also need the password reset link email. It will contain:

  • The app Name
  • The password reset link
  • The company logo URL (optional)

@mufassirkazi
Copy link

Updated comment above

@kant01ne
Copy link
Contributor

kant01ne commented Nov 4, 2020

Changes from the above:

"Done" button becomes "Login" as Done doesn't really mean much. On successful reset password you want to get redirected to login page, so Login makes more sense.

image

"Resend" button will not resend the email directly but will actually go back to email form. That way we make sure that the email is correct, and that the user doesn't use our system to spam email inboxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants