Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.24 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Is it possible to get Gmail oauth or xauth tokens with OmniAuth?
  2. Rails.application.config.middleware.use OmniAuth::Builder do
  3.   provider :google, CONSUMER_KEY, CONSUMER_SECRET
  4.   # plus any other strategies you would like to support
  5. end