You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When generating an OTP through the "get:otp" method for the purpose of approving or denying an enrollment, prevent the reuse of the same OTP for a different enrollment request, even if the OTP is still valid.
The text was updated successfully, but these errors were encountered:
This is a pattern I had to implement for the Storj token service.
When I generate a nonce (similar to an OTP) a timestamp is stored alongside it. When it comes to validation the timestamp is checked to ensure that it hasn't expired. In the case of the token service that's just 60s, but for other use cases we just need a bigger number.
Is your feature request related to a problem? Please describe.
When generating an OTP through the "get:otp" method for the purpose of approving or denying an enrollment, prevent the reuse of the same OTP for a different enrollment request, even if the OTP is still valid.
The text was updated successfully, but these errors were encountered: