Guardian
Token-based authentication library for Elixir applications, with JSON Web Tokens by default and Plug integration.
Guardian is a token-based authentication library for Elixir applications. Its core functions encode and sign a token for a resource, decode and verify it, revoke it and refresh it, with JSON Web Tokens as the default token type. It integrates with Plug and can be used outside it.
Worth knowing
Revoking a JWT token does nothing by default, because the application does not track the tokens it issues. The README points to GuardianDb for recording issued tokens so that revocation takes effect.
Sources
- 2026-11-09: links, Written in, GitHub stars
api.github.com/repos/ueberauth/guardian - 2026-11-09: links, Categories, Runtime, Install with, License
raw.githubusercontent.com/ueberauth/guardian/master/README.md - 2026-11-09: First release
api.github.com/repos/ueberauth/guardian/tags - 2026-11-09: Maintainer, License model
raw.githubusercontent.com/ueberauth/guardian/master/LICENSE - 2026-11-09: Current major version, Last release
api.github.com/repos/ueberauth/guardian/releases - 2026-11-09: Contributors
api.github.com/repos/ueberauth/guardian/contributors?per_page=1 - 2026-11-09: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/hex.pm/packages/guardian