{"action":"opened","issue":{"url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/149","labels_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/149/comments","events_url":"https://api.github.com/repos/gimite/google-drive-ruby/issues/149/events","html_url":"https://github.com/gimite/google-drive-ruby/issues/149","id":84799473,"number":149,"title":"Configurable redirect_uri in GoogleDrive.saved_session","user":{"login":"fbehrens","id":13704,"avatar_url":"https://avatars.githubusercontent.com/u/13704?v=3","gravatar_id":"","url":"https://api.github.com/users/fbehrens","html_url":"https://github.com/fbehrens","followers_url":"https://api.github.com/users/fbehrens/followers","following_url":"https://api.github.com/users/fbehrens/following{/other_user}","gists_url":"https://api.github.com/users/fbehrens/gists{/gist_id}","starred_url":"https://api.github.com/users/fbehrens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbehrens/subscriptions","organizations_url":"https://api.github.com/users/fbehrens/orgs","repos_url":"https://api.github.com/users/fbehrens/repos","events_url":"https://api.github.com/users/fbehrens/events{/privacy}","received_events_url":"https://api.github.com/users/fbehrens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T22:33:09Z","updated_at":"2015-06-03T22:33:09Z","closed_at":null,"body":"I am not very solid in oauth2, so I am happy to have done the migration from 0.3 to 1.0.1 with oauth2 with a save session that runs on heroku. To get the token i had to mokeypatch the gem to set my working `redirect_uri` because the default one was not working.\r\n\r\n    # auth.redirect_uri = \"urn:ietf:wg:oauth:2.0:oob\"\r\n    auth.redirect_uri = \"http://www.rhythmuswelten.de/\"\r\n\r\nSo I suggest that being another parameter, and maybe keyword arguments,\r\nwould provide a pull request if there is positive feedback"}}