Top "Warden" questions

Warden is a Rack-based middleware, designed to provide a mechanism for authentication in Ruby web applications.

Rails/Devise - Determining when user session will expire

When using the timeoutable module for Devise, how can one determine how long it will be before the current user's …

ruby-on-rails devise warden
What is last_sign_in_at used for in Devise?

A standard User column in Devise is last_sign_in_at, which holds the previous value of current_sign_in_…

ruby-on-rails ruby devise warden
Active Admin authentication conflicting with User authentication

Active Admin is a gem used for having an admin dashboard in your application. It uses Devise for logging in …

ruby-on-rails devise ruby-on-rails-3.1 activeadmin warden
What is the warden data in a Rails/Devise session composed of?

The "data" in a Rails session looks like this: {"warden.user.user.key" => [[1], "long-random-string"]} 1 is the user id. What …

ruby-on-rails devise warden
Devise warden 401 Unauthorized when wrong credentials

I have a quite standard Devise login procedure with: View: resource_name, :url => session_path(resource_name)) do |f| %> <%= …

ruby-on-rails devise warden
Undefined method failure_app for nil:NilClass

I am trying to use devise from a Rails app to grant access to a Sinatra application within the Rack …

devise sinatra rack warden
How to access session from Warden/Devise after_authentication callback in Rails

I'm trying to access the current session from Warden's after_authenticate callback (running underneath Devise) in Rails 3. At the top …

ruby-on-rails session authentication devise warden
Where should warden callbacks be placed in a rails app?

I'm relatively new to rails. I have Devise set up, and want to run some callback code after users sign …

ruby-on-rails devise warden