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
{{ message }}
Repository navigation
[Feature]: Separate public username availability from sensitive identifier checks #161
UltimateAuth supports username, email, and phone as login identifiers. This does not imply that all identifier types should be publicly enumerable.
The current identifier availability endpoint allows applications to expose availability results for all supported identifier types through a single action.
Although developers can disable the endpoint using DisabledActions, they cannot independently expose public username availability while restricting email and phone availability.
Proposal
Introduce a dedicated public username availability endpoint.
Keep general identifier availability as a separate, independently configurable endpoint.
Preserve support for email and phone as login identifiers.
Allow developers to disable either endpoint independently.
Document the privacy implications of anonymous availability queries.
Evaluate backward compatibility and migration requirements before implementation.
Future consideration: Strict Protection
Consider an optional UltimateAuth Strict Protection configuration profile that enforces stronger security defaults.
The profile could reject unsafe or contradictory configurations during application startup, including publicly exposed sensitive identifier availability, depending on its defined guarantees.
This profile should be designed separately and should not be implemented as part of this issue.
Acceptance criteria
Public username availability can be enabled without exposing email or phone availability.
Activity