FindSoftware

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.

Identity

Status
Active
Maintainer
Daniel Neighman4
First release
20153

Rendering and deploy

Install with
mix2

Releases

Current major version
25
Last release
2026-08-175

Adoption

GitHub stars
3,5131
Contributors
1606
Dependent repositories
1,6857
Dependent packages
317

Why these figures do not compare

Sources

  1. 2026-11-09: links, Written in, GitHub stars
    api.github.com/repos/ueberauth/guardian
  2. 2026-11-09: links, Categories, Runtime, Install with, License
    raw.githubusercontent.com/ueberauth/guardian/master/README.md
  3. 2026-11-09: First release
    api.github.com/repos/ueberauth/guardian/tags
  4. 2026-11-09: Maintainer, License model
    raw.githubusercontent.com/ueberauth/guardian/master/LICENSE
  5. 2026-11-09: Current major version, Last release
    api.github.com/repos/ueberauth/guardian/releases
  6. 2026-11-09: Contributors
    api.github.com/repos/ueberauth/guardian/contributors?per_page=1
  7. 2026-11-09: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/hex.pm/packages/guardian

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON