hapi-auth-any
JSON →A hapi.js plugin that combines multiple authentication strategies (including those based on the same scheme) and succeeds if any one of them passes. v2.0.0 requires Node >=18 and @hapi/hapi 21.x. Unlike hapi's built-in strategy mode, which only works with different schemes, this allows combining strategies of the same scheme (e.g., multiple Basic auth strategies). Only returns credentials from the first passing strategy. Throws an AggregateError on failure, preserving individual errors.
Traffic · last 30 days ↓22% vs prev 7d
total hits 23
actors 7 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇫🇮 Finland · 🇩🇪 Germany
API endpoints
full doc /v1/registry/hapi-auth-any
compatibility /v1/registry/hapi-auth-any/compatibility