Skip to content

Instantly share code, notes, and snippets.

@Irio
Created July 3, 2012 18:40
Show Gist options
  • Save Irio/3041785 to your computer and use it in GitHub Desktop.
Save Irio/3041785 to your computer and use it in GitHub Desktop.
oauth with devise2
# OAuth
config.omniauth :facebook, "306897372733415", "178333649c7a3ae4842038a110e36e19",
{:scope => 'email, offline_access', :client_options => {:ssl => {:ca_file => '/usr/lib/ssl/certs/ca-certificates.crt'}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment