api_guard VS JWT

Compare api_guard vs JWT and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
api_guard JWT
4 9
277 3,554
- 0.3%
1.2 7.6
8 months ago 30 days 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

JWT

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

What are some alternatives?

When comparing api_guard and JWT you can also consider the following projects:

rodauth-rails - Rails integration for Rodauth authentication framework

Devise Token Auth - Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

graphql_devise - GraphQL interface on top devise_token_auth

Devise - Flexible authentication solution for Rails with Warden.

activity_notification - Integrated user activity notifications for Ruby on Rails

Doorkeeper - Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.

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

Authlogic - A simple ruby authentication solution.

Clearance - Rails authentication with email & password.

OAuth2 - A Ruby wrapper for the OAuth 2.0 protocol.

endpoint-flux - Micro framework for dealing with API and endpoints

Knock - Seamless JWT authentication for Rails API