RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: authorization xAPIs x
OAuth with Doorkeeper
Episode #353 – May 23, 2012 – 90 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)
Securing an API
Episode #352 – May 23, 2012 – 74 comments

Securing an API

There are many approaches to locking down an API. Here I start off with HTTP Basic authentication then move on to generating a unique token which can be passed through a URL parameter or HTTP header. (7 minutes)
RABL
Episode #322 – Feb 08, 2012 – 64 comments

RABL

RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in this episode. (8 minutes)