broderboy/sharebro — comment on commit 29ac022588c1e3574debb65473eb7bc0eac841d5
File: notes/google-login.txt line 38
By alexch:

actually i went out of my way to allow proper auth to work on localhost. This is necessary to get real JSON data from Google and so be able to actually figure out what the hell is going on with the undocumented API.
https://github.com/alexch/sharebro/blob/master/app.rb#L245

:callback_url => "#{request.base_url}/oauth_callback ...

that way when you oauth, google redirects your browser back to localhost but logged in as the real you.