#331331st of 358 in Backends, databases and hosting
devise_token_auth
Token-based authentication gem for Rails APIs, built on Devise and OmniAuth
Live demo ↗
(opens in a new tab)Documentation ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 3.6k
- License
- WTFPL
- Last commit
- Jul 2026
- Language
- Ruby
3,550 on 26 Apr 20263,564 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Devise Token Auth is a Ruby gem that adds token-based authentication to Rails apps serving SPAs and mobile clients. It refreshes tokens on each request, expires them after a short time, and keeps a separate session per client or device. It supports email registration, login, password reset and confirmation through Devise, OAuth2 through OmniAuth, and multiple user models.
Who it is for: Rails developers building token-authenticated APIs for SPAs or mobile apps
Strengths
- Per-device sessions with tokens refreshed on every request and short expiry
- Email auth via Devise and OAuth2 via OmniAuth in one gem
- Supports multiple user models in a single Rails app
- Documented client libraries for Angular, React/Redux, jQuery and Flutter
Weaknesses
- Rails only; no use outside Ruby on Rails apps
- Depends on Devise and OmniAuth, so inherits their configuration surface
- No tagged release is listed for the repository
- Client libraries are separate third-party projects, not maintained here
What it needs
- no GPU
- Needs Rails, Devise, OmniAuth
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #329 | pgPostgreSQL client and ORM for Go, now in maintenance mode | 39 out of 100 |
| #330 | dbGo data access layer with one API for SQL databases and MongoDB | 39 out of 100 |
| #332 | spring-boot-jwtSpring Boot JWT auth service with rotating, revocable refresh tokens | 39 out of 100 |
| #333 | filodbDistributed in-memory time series database with PromQL, fed from Kafka | 39 out of 100 |
| #334 | dicedbValkey fork that spills evicted keys to disk via RocksDB | 37 out of 100 |