Releases: r8/ash_authentication_firebase
Releases · r8/ash_authentication_firebase
v1.1.0
Added
- Firebase token verification hardening: email verification checks, structured token errors, clock-skew leeway,
uidin user info, and atom/stringtoken_inputkeys - Support for sign-in-only mode, custom action names, and multiple Firebase strategies per resource
- README examples and security model documentation
- Dialyzer in CI
- Telemetry/logging for key-store activity, token rejection, and missing-secret configuration
Changed
- Registration/sign-in actions are now validated at compile time
- Key store now uses
:persistent_term, refreshes synchronously on key misses, retries failed fetches with backoff, and handles key rotation more reliably - JWKS fetching/parsing and Firebase project configuration validation are stricter
- Bundled key-store/Finch processes are only started when needed
Fixed
- Token verification now returns clean errors instead of crashing on malformed input, key-store failures, invalid headers/payloads, or bad config
- Missing/blank secrets and invalid token params are handled consistently
- Sign-in failures from Ash are wrapped correctly instead of crashing
- Key-store refresh and JWKS parsing are more defensive
sub,kid, and clock-skew config validation now match expected Firebase/security constraints