Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Google.rb is overriding scope options #171

Closed
Waynenabors opened this Issue Feb 9, 2011 · 1 comment

Comments

Projects
None yet
2 participants

Can't set scope for Google because it is getting overridden in Google.rb

Example:
provider :google, 'CONSUMER KEY', 'CONSUMER SECRET', {:scope => 'http://www.google.com/reader/api/ http://www.google.com/m8/feeds'}

Google.rb should be changed to something like this:
def request_phase
options[:scope] ||= "http://www.google.com/m8/feeds"
request_token = consumer.get_request_token({:oauth_callback => callback_url}, options)

Contributor

mbleigh commented Feb 11, 2011

Allow for user setting of Google OAuth scope. Closed by fcc09a5.

@sergioazevedo sergioazevedo pushed a commit to intelie/omniauth that referenced this issue Jun 8, 2011

Michael Bleigh Allow for user setting of Google OAuth scope. Closes #171. fcc09a5

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment