api_guard VS devise-api

Compare api_guard vs devise-api and see what are their differences.

devise-api

The devise-api gem is a convenient way to add authentication to your Ruby on Rails application using the devise gem. It provides support for access tokens and refresh tokens, which allow you to authenticate API requests and keep the user's session active for a longer period of time on the client side (by nejdetkadir)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
api_guard devise-api
4 3
277 134
- -
1.2 6.6
8 months ago 3 months ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

api_guard

Posts with mentions or reviews of api_guard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-01.
  • Anyone used API Guard gem before?
    1 project | /r/rails | 22 Mar 2022
  • Help with Rails API + React
    2 projects | /r/rails | 1 May 2021
    I built a Rails authenticated API for my react native app using api_guard (https://github.com/Gokul595/api_guard) and it works great. I evaluated a lot of different solutions (knock, devise, jwt_sessions, etc.) and api_guard has the best features out of the box for JWT and easy to set up. If you are thinking about option 2, look into api_guard.
  • What do you use for user authentication on an API only app?
    2 projects | /r/rails | 3 Feb 2021
    https://github.com/Gokul595/api_guard is a nice little gem for API auth using JWTs. Most of it is honestly not that hard to implement yourself though

devise-api

Posts with mentions or reviews of devise-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-28.

What are some alternatives?

When comparing api_guard and devise-api you can also consider the following projects:

rodauth-rails - Rails integration for Rodauth authentication framework

devise_masquerade - Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.

graphql_devise - GraphQL interface on top devise_token_auth

authentication-zero - An authentication system generator for Rails applications.

activity_notification - Integrated user activity notifications for Ruby on Rails

otp-jwt - One time password (email, SMS) authentication support for HTTP APIs.

rails-base-app - An example of Rails 7 and Vue 3 app which is using Vite, and includes Docker configs for building production images and some of the useful tools to start your projects

JWT - A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.

Exception Handler - Ruby on Rails Custom Error Pages

Clearance - Rails authentication with email & password.