You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
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.