api_guard
devise-api
Our great sponsors
api_guard | devise-api | |
---|---|---|
4 | 3 | |
277 | 134 | |
- | - | |
1.2 | 6.6 | |
8 months ago | 3 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
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
- Anyone used API Guard gem before?
-
Help with Rails API + React
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?
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
- For Rails API-only authentication, do you go for a gem or 3D party service?
-
Devise extension for API authenticatable
What does the API response look like? Or does it set a cookie by default? I see this but JSON would be nice.
What are some alternatives?
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.