Replies: 1 comment 3 replies
-
Security Suggestions:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This topic has come up a couple of times, at the moment the pre-built password reset flow does not work for mobile. Instead we set up the webapp to handle the password reset for mobile (including mobile only builds).
@eliasbiagioninc
@paribaker
A summary of comments so far :
The team is discussing whether to switch from password reset email links to 4-digit codes for resetting passwords. Ed mentions he prefers links but sees that codes might be easier for mobile apps. Pari suggests a hybrid approach that includes both a code and a link for autofill. William raises security concerns about code guessing and notes that tokens in links are more secure. Ed concludes that switching to codes doesn't save much in terms of development effort and reaffirms the potential of magic links for logins and password resets. William adds that push notifications could be used for mobile, and Pari notes an existing implementation in Hive that needs a 10-minute expiration for codes.
Mikael and Elias propose adding a method where a 5-digit code is emailed for password resets, which users then enter in the app. This would be easier for mobile users and save development time on web app pages. Ed agrees it could save front-end development work on mobile-focused projects but points out that security concerns must be addressed, including quick expiration and cooldown for codes. Elias supports adding the functionality to both back-end and front-end by default.
Beta Was this translation helpful? Give feedback.
All reactions