Skip to content
railsengines.com

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…

No ratings yet
Gem
devise-api
Repository
nejdetkadir/devise-api
License
MIT
Stars
176
Added
August 20, 2026

About

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

Overall, the devise-api gem is a useful tool for adding secure authentication to your Ruby on Rails application.

What you get

  • When a user logs in to your Rails application, the devise-api gem generates an access token and a refresh token.
  • The access token is included in the API request headers and is used to authenticate the user on each subsequent request.
  • This allows the user to remain logged in and make API requests without having to constantly re-enter their login credentials.

Installing it

ruby
# Gemfile
gem "devise-api"

Details

176 stars on GitHub · MIT licensed · maintained by nejdetkadir. Source: https://github.com/nejdetkadir/devise-api

Discussion (0)

Sign in to join the discussion.

No comments yet.