Thomas Brennetotblog.brennetot.com·Mar 4, 2024Devise logout after 1 day or 30 minutes inactiveThe gem Devise is great for authentication for Rails applications. https://github.com/heartcombo/devise For some sensitive application, you want to logout the user aggressively. For example: a banking app. You want users to re-login if inactive for m...Discusslogin-timeout
Flavio Wuenscheantelo.live·Nov 26, 2023Setup Google OAuth Rails without DeviseHere's my recipe to quickly set up Google OAuth login without using the devise gem, only pure Omniauth. Install dependencies Add these to your Gemfile: gem 'omniauth' gem 'omniauth-google-oauth2' gem 'omniauth-rails_csrf_protection', '~> 0.1' the...Discuss·97 readsomniauth
hashSlingerhashslinger.hashnode.dev·Mar 27, 2023Installing and Configuring Devise for User AuthenticationIntroduction: Devise is a popular and flexible authentication gem for Ruby on Rails applications. It provides a full suite of authentication features, including user registration, password recovery, and sign-in/sign-out functionality. In this tutoria...DiscussRuby
Ankit Pariyarankitpariyar.hashnode.dev·Aug 30, 2022Using Devise and SendGrid to send confirmation email on rails appFirst make normal rails app with devise user model. $ rails new awesome-app This will create new app $ cd awesome-app It will change the directory to our new project Setup Gemfile. Add gem 'devise' and gem 'sendgrid-ruby' to the Gemfile finally...Discuss·86 readsRuby on Rails