ueberauth/guardian
This system is a token authentication library for Elixir applications, providing secure session management through JWT-based tokens. It handles token creation, verification, and revocation, while supporting flexible permission encoding and header-based or cookie-based authentication flows. The library also includes utilities for generating secrets and managing dynamic configuration, all wrapped in a modular, behavior-based architecture designed for extensibility and safety.
57.1
Adequate · 1 August 2026
3.4k
lines of production code
Elixir
primary language
8
bus factor · 179 authors in all
2
measurements over time
How it got here
2015 · Guardian 2.0 API overhaul and security hardening
This period was dominated by a major refactoring of the Guardian library, replacing the Joken backend with JOSE and introducing a modular, behavior-based plug architecture. The update included significant security fixes for token revocation and unbounded atom creation, alongside the addition of new features like permissions and token refreshing.
9 changes
2016–2019 · JWT and permissions expansion
This period focused on expanding the Guardian library's capabilities by introducing full JWT token support, including encoding, decoding, and claim verification. The work also added new permission encoding strategies and a corresponding plug for access control, supported by comprehensive test coverage for these new features.
9 changes
Survey your own repository
ueberauth/guardian was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 1 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 2bd7a8c297 — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.