OAuth Failing

111 views
Skip to first unread message

Trent

unread,
Apr 29, 2011, 11:30:17 PM 4/29/11
to Google Finance APIs and Tools
Hi,

I'm getting the following error
invalid_scope: Some requested scopes were invalid. {invalid=[http://
www.finance.google.com/finance/feeds/ ]}

Error 400

I'm using this string

scope = 'http%3A%2F% 2Fwww.finance.google.com %2Ffinance%2Ffeeds%2F'

system "Open", " https://accounts.google.com/o/oauth2/auth ?
client_id= 58611226139.apps.googleusercontent.com &redirect_uri=urn:ietf:wg:oauth:
2.0:oob&scope=#{scope}&response_type=code"

It's in ruby. But I'm not sure what I'm doing to get the incorrect
scope error.

Any help would be great.

Thanks
Reply all
Reply to author
Forward
0 new messages