Auth: Password reset #40

Closed
opened 2020-12-20 16:43:40 +00:00 by niggl · 2 comments
Owner

We probably want our users to have a pw reset route that does stuff based on sending reset links (even if it just returns those links for now instead of sending them via mail)

We probably want our users to have a pw reset route that does stuff based on sending reset links (even if it just returns those links for now instead of sending them via mail)
niggl referenced this issue from a commit 2020-12-22 09:28:07 +00:00
niggl referenced this issue from a commit 2020-12-22 09:38:49 +00:00
niggl added the
status:doing
label 2020-12-22 09:57:40 +00:00
niggl self-assigned this 2020-12-22 09:57:43 +00:00
Author
Owner

I implemented the basic password reset stuff.
Right now it just return's the reset token on request and you can just spam request reset tokens.
Next up I'm gonna implement a reset requesting timeout.

I implemented the basic password reset stuff. Right now it just return's the reset token on request and you can just spam request reset tokens. Next up I'm gonna implement a reset requesting timeout.
niggl referenced this issue from a commit 2020-12-22 10:20:11 +00:00
niggl referenced this issue from a commit 2020-12-22 10:27:21 +00:00
niggl referenced this issue from a commit 2020-12-22 10:35:33 +00:00
Author
Owner

I implemented checks and errors for the following:

  • Is the user disabled (login, refresh, autorefresh and reset request)?
  • Has the user requested another refresh in the last 15min?

And i have a question: What is your opinion on disabling user login for a user while their password reset is in progress? I don't really think we should prevent them from doing this but it certainly is an option.

I implemented checks and errors for the following: * Is the user disabled (login, refresh, autorefresh and reset request)? * Has the user requested another refresh in the last 15min? And i have a question: What is your opinion on disabling user login for a user while their password reset is in progress? I don't really think we should prevent them from doing this but it certainly is an option.
niggl referenced this issue from a commit 2020-12-22 10:48:06 +00:00
niggl added a new dependency 2020-12-22 15:04:17 +00:00
niggl closed this issue 2020-12-22 15:29:45 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: lfk/backend#40
No description provided.