是否可以一起使用设计和谷歌oauth?我已经在 devise 中成功设置了 facebook,但是下面的 google 配置不起作用。我必须直接使用 oauth2 吗?
config.oauth :google, 'anonymous', 'anonymous',
:site => 'https://www.google.com',
:request_token_path => "/accounts/OAuthGetRequestToken",
:access_token_path => "/accounts/OAuthGetAccessToken",
:authorize_path => "/accounts/OAuthGetAuthorizeToken",
:signature_method => "RSA-SHA1",
:private_key_file => '/rsakey.pem',
:scope => "https://www.google.com/m8/feeds/"