RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Authentication x
Guest User Record
Episode #393Nov 21, 2012101 comments

Guest User Record

Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards. (9 minutes)
Devise and OmniAuth (revised)
Episode #235Jul 13, 2012134 comments

Devise and OmniAuth (revised)

In this episode I build upon a standard Devise setup and show how to add 3rd party authentication using OmniAuth. This includes support for user validations and is compatible with normal password authentication. (10 minutes)
Devise (revised)
Episode #209Jul 06, 201275 comments

Devise (revised)

Devise is one of the most popular authentication plugins for Rails. Here I show how to set it up with a User model and configure the modules, views, routes, and more. (8 minutes)
Facebook Graph API
Episode #361Jun 25, 201260 comments

Facebook Graph API

Learn how to use the Facebook Graph API with the Koala gem to fetch data from Facebook and post content through a user. Here I delve into permissions, error handling, and more. (14 minutes)
Facebook Authentication
Episode #360Jun 25, 2012196 comments

Facebook Authentication

This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. (12 minutes)
Simple OmniAuth (revised)
Episode #241Jun 02, 201291 comments

Simple OmniAuth (revised)

OmniAuth makes it easy to do user authentication through a third party provider such as Twitter or Facebook. Learn a simple approach in this episode. (11 minutes)
Authentication from Scratch (revised)
Episode #250Feb 25, 2012100 comments

Authentication from Scratch (revised)

Simple password authentication is easy to do with has_secure_password. Here you will learn how to make a complete Sign Up, Log In, and Log Out process as well as restrict access to certain actions. (13 minutes)
Authentication with Warden
Episode #305Dec 05, 201144 comments

Authentication with Warden

Warden makes it easy to move authentication up into Rack middleware. This means authentication can be accessed outside of a Rails controller such as in routes or in a mountable engine. (12 minutes)
OmniAuth Identity
Episode #304Dec 05, 201185 comments

OmniAuth Identity

With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. (11 minutes)
Authentication with Sorcery
Episode #283Sep 12, 201175 comments

Authentication with Sorcery

Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you. (10 minutes)