12
Feature request for Supabase Auth: Automatically invalidate OTP after multiple failed login attempts
Source: supabase/supabase#33745 · opened by @maximilian-hammerl
Currently, Supabase Auth allows users to request OTPs for authentication, but these OTPs remain valid even after multiple failed login attempts. This can be exploited by attackers trying to gain unauthorized access through brute force guessing. Proposed feature: Introduce a security mechanism that automatically invalidates an OTP if a user has attempted to log in with that OTP unsuccessfully X times. Once the limit is reached, the OTP should be invalidated, requiring the user to request a new one. Use case: • Prevent brute-force OTP guessing attacks. • Improve security without adding friction for legitimate users. • Align with best practices in authentication security. Suggested implementation: • Track OTP verification attempts per user. • If the number of failed attempts reaches the configured threshold, invalidate the OTP immediately. Impact: This feature would enhance Supabase Auth’s security against unauthorized login attemp…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Auth] Display user valid sessions and allow to invalidate some or all of them
14 votes · 0 comments
Support generating access_token for phone users via Admin API
2 votes · 0 comments
Auth Rate Limits by email address (or Supabase user ID) instead of by IP address
4 votes · 0 comments
Feature Request: Built-in Phone Number Recycling Support for Authentication
1 vote · 0 comments
Generate OTP for users directly in Supabase for tests
2 votes · 0 comments
No comments yet.