3 ms·
You are right that something needs to be stored server side for one-time links. In the password reset example, something is stored: The new password hash. Henc
by vidarh 12y ago
You are right that something needs to be stored server side for one-time links.
In the password reset example, something is stored: The new password hash. Hence the example of including the old password hash, as a value that will be invalidated when the request has been processed.
Otherwise you need to bump a value on accessing the URL, but you still benefit by not having to create book-keeping information when creating the URL.