I worked for a few quite big rails shops in UK over the years and all of them used Devise. It was one of those things where you would configure and forget it exists- it just works. In same time, I feel like if you would have a very specific needs - you would probably need to fight with Devise to achieve the desired result. To summarise, I think most businesses are using Devise and if you have any specific needs - you probably need to build something on your own or find alternative solution. Answer from Deleted User on reddit.com
GitHub
github.com › heartcombo › devise
GitHub - heartcombo/devise: Flexible authentication solution for Rails with Warden. · GitHub
Alternatively, you can simply run the Devise generator. Keep in mind that those models will have completely different routes. They do not and cannot share the same controller for sign in, sign out and so on. In case you want to have different roles sharing the same actions, we recommend that you use a role-based approach, by either providing a role column or using a dedicated gem for authorization.
Starred by 24.3K users
Forked by 5.5K users
Languages Ruby 97.2% | HTML 2.8%
RubyGems
rubygems.org › gems › devise › versions › 4.9.4
devise | RubyGems.org | your community gem host
April 10, 2024 - Flexible authentication solution for Rails with Warden · José Valim, Carlos Antônio
Some say use Devise, some say authentication-zero, others build it yourself. Which is it?
I worked for a few quite big rails shops in UK over the years and all of them used Devise. It was one of those things where you would configure and forget it exists- it just works. In same time, I feel like if you would have a very specific needs - you would probably need to fight with Devise to achieve the desired result. To summarise, I think most businesses are using Devise and if you have any specific needs - you probably need to build something on your own or find alternative solution. More on reddit.com
ruby on rails - Gem devise getting started? - Stack Overflow
I am using this tutorial https://launchschool.com/blog/how-to-use-devise-in-rails-for-authentication But i am a little bit confused. I want to make simple app to see how devise works So far I did ... More on stackoverflow.com
devise gem install for Ruby on Rails - Stack Overflow
just started learning Ruby on Rails, I'm trying to install the devise gem for creating a login/signin lesson, but I keep getting the following messages.. Could anyone help please? and feel free to More on stackoverflow.com
Is Devise Really Good Enough in 2019?
Yes. More on reddit.com
Videos
Devise Admin and Users with Different Models | Ruby on Rails 7 ...
This New Devise API Gem Makes User Auth So Simple! | Ruby On Rails ...
12:41
Devise Authentication - Rails & Ruby Gems you should know! - YouTube
11:49
Lesson 8 - Devise Gem with Rails 7 & Hotwire - YouTube
RubyDoc
rubydoc.info › gems › devise › 2.2.8
RubyDoc.info: File: README – Documentation for devise (2.2.8) – RubyDoc.info
Devise is a flexible authentication solution for Rails based on Warden.
RubyGems
rubygems.org › gems › devise › versions
All versions of devise | RubyGems.org | your community gem host
RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and then install them. Use the API to find out more about available gems. Become a contributor and improve the site yourself · The RubyGems.org website and service are maintained and operated by Ruby ...
Rails Girls Guides
guides.railsgirls.com › devise
Adding Authentication with Devise - Rails Girls Guides
bundle add devise bundle install · to install the gem. Also remember to restart the Rails server. Run the following command in the terminal. rails g devise:install · Ensure you have defined default url options in your environments files. Open up config/environments/development.rb and add this line: config.action_mailer.default_url_options = { host: "localhost", port: 3000 } before the end keyword.
GitHub
github.com › nejdetkadir › devise-api
GitHub - nejdetkadir/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 · GitHub
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 ...
Starred by 176 users
Forked by 29 users
Languages Ruby 89.6% | HTML 9.8%
Reddit
reddit.com › r/rails › some say use devise, some say authentication-zero, others build it yourself. which is it?
r/rails on Reddit: Some say use Devise, some say authentication-zero, others build it yourself. Which is it?
January 28, 2024 -
Is there a reason why people are trying to ditch Devise? I am just getting into the auth part of my app and googling it and I get all these comments of some people hating devise, others saying that authentication-zero, rodauth-rails or sorcery -- but in most recent posts i read about 7.1 having all the features you need to make it your own.
Can you please share your knowledge on what are your recommendations?
PS. Have in mind that I am new to Rails and for auth I am used to Nextjs "Next auth" solution which is a little painful.
Top answer 1 of 34
57
For any kind of non-educational, serious project, just dont make your own. It's far too security critical of an area to be reinventing the wheel and risk introducing bugs. Devise is honestly feature bloated, but it's also easy to configure it at a basic level.
2 of 34
35
I worked for a few quite big rails shops in UK over the years and all of them used Devise. It was one of those things where you would configure and forget it exists- it just works. In same time, I feel like if you would have a very specific needs - you would probably need to fight with Devise to achieve the desired result. To summarise, I think most businesses are using Devise and if you have any specific needs - you probably need to build something on your own or find alternative solution.
DigitalOcean
digitalocean.com › community › tutorials › how-to-set-up-user-authentication-with-devise-in-a-rails-7-application
How To Set Up User Authentication with Devise in a Rails 7 Application | DigitalOcean
October 13, 2022 - The Devise gem is an authentication solution for Ruby on Rails applications; it helps you set up production-ready user authentication in your projects without having to do everything on your own. Devise provides many useful features such as handling user sessions and adding support for third-party ...
GitHub
github.com › devise-security › devise-security
GitHub - devise-security/devise-security: A security extension for devise, meeting industry-standard security demands for web applications. · GitHub
Devise Security works with Devise on Rails >= 7.0. You can add it to your Gemfile after you successfully set up Devise (see Devise documentation) with:
Starred by 637 users
Forked by 155 users
Languages Ruby 97.0% | Dockerfile 1.7%