Hello,
I have just discovered this library and was hoping to be able to use it.
The issue that I am encountering is the following :
I have created a sample code to retrieve an authorization code from the Dropox API (see code below).
final UserAgent userAgent = new UserAgentImpl();
AuthorizationResponse authorizationResponse;
try {
final URI authorizationEndpoint = new URI("https://www.dropbox.com/oauth2/authorize?" +
"client_id=MYCLIENTID" +
"&response_type=code" +
"&force_reapprove=true");
final URI redirectUri = new URI("");
authorizationResponse = userAgent.requestAuthorizationCode(authorizationEndpoint,
redirectUri);
final String code = authorizationResponse.getCode();
System.out.print("Authorization Code: ");
System.out.println(code);
} catch (final AuthorizationException | URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Once the browser window is loaded, if I enter my Dropbox credentials or if I use Google to authenticate myself, clicking on the Login button or Next doesn't trigger anything.
Hello, I have just discovered this library and was hoping to be able to use it.
The issue that I am encountering is the following : I have created a sample code to retrieve an authorization code from the Dropox API (see code below).
Once the browser window is loaded, if I enter my Dropbox credentials or if I use Google to authenticate myself, clicking on the Login button or Next doesn't trigger anything.
I don't see any exceptions being raised.
Thanks