RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: omniauth x
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)
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)
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)
Simple OmniAuth
Episode #241Nov 22, 201090 comments

Simple OmniAuth

Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user. (9 minutes)
OmniAuth Part 1
Episode #235Oct 11, 2010104 comments

OmniAuth Part 1

OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise. (10 minutes)
OmniAuth Part 2
Episode #236Oct 13, 201092 comments

OmniAuth Part 2

In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations. (15 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)
OAuth with Doorkeeper
Episode #353May 23, 201290 comments

OAuth with Doorkeeper

Doorkeeper makes it easy to create an OAuth 2 provider. This episode also shows how to setup OmniAuth as an OAuth client and use the oauth2 gem to communicate with an API. (19 minutes)
Service Objects
Episode #398Dec 18, 2012114 comments

Service Objects

Models can quickly become a grab-bag of unrelated methods if behavior is constantly being pushed from the controller. Here I show how to refactor this using Concerns and Service Objects. (12 minutes)
Twitter Integration
Episode #359Jun 15, 201276 comments

Twitter Integration

Here I show how to integrate Twitter into a Rails app. This includes fetching data, caching it, and even how to authenticate as a user signing in to your application through Twitter. (14 minutes)