{"action":"created","issue":{"url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/55","repository_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java","labels_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/55/comments","events_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/55/events","html_url":"https://github.com/dropbox/dropbox-sdk-java/issues/55","id":157768648,"number":55,"title":"No way to set force_reapprove for DbxWebAuth","user":{"login":"anowell","id":2629687,"avatar_url":"https://avatars.githubusercontent.com/u/2629687?v=3","gravatar_id":"","url":"https://api.github.com/users/anowell","html_url":"https://github.com/anowell","followers_url":"https://api.github.com/users/anowell/followers","following_url":"https://api.github.com/users/anowell/following{/other_user}","gists_url":"https://api.github.com/users/anowell/gists{/gist_id}","starred_url":"https://api.github.com/users/anowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anowell/subscriptions","organizations_url":"https://api.github.com/users/anowell/orgs","repos_url":"https://api.github.com/users/anowell/repos","events_url":"https://api.github.com/users/anowell/events{/privacy}","received_events_url":"https://api.github.com/users/anowell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-31T20:56:15Z","updated_at":"2016-06-08T23:20:48Z","closed_at":"2016-06-08T23:20:48Z","body":"I don't see a way to set `force_reapprove` in the java sdk when going through web auth. \r\n\r\n(maybe it's possible by injecting a ` HttpRequestor` into `DbxRequestConfig`, but I didn't particularly want to start down that road)"},"comment":{"url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/comments/224760225","html_url":"https://github.com/dropbox/dropbox-sdk-java/issues/55#issuecomment-224760225","issue_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/55","id":224760225,"user":{"login":"krieb","id":4420713,"avatar_url":"https://avatars.githubusercontent.com/u/4420713?v=3","gravatar_id":"","url":"https://api.github.com/users/krieb","html_url":"https://github.com/krieb","followers_url":"https://api.github.com/users/krieb/followers","following_url":"https://api.github.com/users/krieb/following{/other_user}","gists_url":"https://api.github.com/users/krieb/gists{/gist_id}","starred_url":"https://api.github.com/users/krieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krieb/subscriptions","organizations_url":"https://api.github.com/users/krieb/orgs","repos_url":"https://api.github.com/users/krieb/repos","events_url":"https://api.github.com/users/krieb/events{/privacy}","received_events_url":"https://api.github.com/users/krieb/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T23:20:48Z","updated_at":"2016-06-08T23:20:48Z","body":"Version **2.0.5** now supports the additional authorize query parameters, like `force_reapprove`. Use [DbxWebAuth.newRequestBuilder()](https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/DbxWebAuth.html#newRequestBuilder--) to build an authorize request with the optional parameters:\r\n```\r\nDbxWebAuth.Request request = DbxWebAuth.newRequestBuilder()\r\n    .withRedirectUri(redirectUri, csrfTokenStore)\r\n    .withForceReapprove()\r\n    .build();\r\nDbxWebAuth auth = new DbxWebAuth(requestConfig, appInfo);\r\nString authUrl = auth.authorize(request);\r\n// ...\r\nDbxAuthFinish finish = auth.finishFromRedirect(redirectUri, csrfTokenStore, queryParams);\r\n```"}}
{"actor":{"display_login":"krieb"}}