Skip to content

Instantly share code, notes, and snippets.

@superp
Created March 25, 2011 14:29
Show Gist options
  • Save superp/886917 to your computer and use it in GitHub Desktop.
Save superp/886917 to your computer and use it in GitHub Desktop.
# initializers/omniauth.rb
TestStream::Application.config.middleware.use OmniAuth::Builder do
provider :facebook, '...', '...', {:scope => 'publish_stream,offline_access,email'}
provider :twitter, '...', '...'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment