diff --git a/src/main/java/com/autodesk/client/auth/OAuth2TwoLegged.java b/src/main/java/com/autodesk/client/auth/OAuth2TwoLegged.java index dbcd180..188c5c2 100644 --- a/src/main/java/com/autodesk/client/auth/OAuth2TwoLegged.java +++ b/src/main/java/com/autodesk/client/auth/OAuth2TwoLegged.java @@ -151,7 +151,7 @@ public OAuth2TwoLegged(String clientId, String clientSecret, List select this.name = "oauth2_application"; this.type = "oauth2"; - this.tokenUrl = Configuration.getDefaultApiClient().getBasePath() + "/authentication/v1/authenticate"; + this.tokenUrl = Configuration.getDefaultApiClient().getBasePath() + "/authentication/v2/token"; this.scopes.add("data:read"); this.scopes.add("data:write"); this.scopes.add("data:create");