My app is a web application.

Omniauth is a Ruby library for authenticating with many different 
providers.  One of which is Google and I'm 99% sure it uses OAuth, not 
OAuth2.

The paths in this code lead me to believe it's using standard OAuth as they 
are described in http://code.google.com/apis/accounts/docs/OAuth_ref.html

def initialize(app, consumer_key=nil, consumer_secret=nil, options={}, &
block)
        client_options = {
          :access_token_path => '/accounts/OAuthGetAccessToken',
          :authorize_path => '/accounts/OAuthAuthorizeToken',
          :request_token_path => '/accounts/OAuthGetRequestToken',
          :site => 'https://www.google.com',
        }
        google_contacts_auth = 'www.google.com/m8/feeds'
        options[:scope] ||= "https://#{google_contacts_auth}";
        options[:scope] << " https://#{google_contacts_auth}"; unless options
[:scope] =~ %r[http[s]?:\/\/#{google_contacts_auth}]
        super(app, :google, consumer_key, consumer_secret, client_options, 
options, &block)
      end

I am passing xoauth_displayname with my application name which is showing up 
correctly, I just keep getting that Warning.

Thanks for any help.

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to