Skip to content

Commit

Permalink
Update endpoint URLs in AutodeskAuthenticationDefaults.cs to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaysonIO authored Jun 23, 2023
1 parent b5c152c commit 6bbd9b2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public static class AutodeskAuthenticationDefaults
/// <summary>
/// Default value for <see cref="OAuthOptions.AuthorizationEndpoint"/>.
/// </summary>
public static readonly string AuthorizationEndpoint = "https://developer.api.autodesk.com/authentication/v1/authorize";
public static readonly string AuthorizationEndpoint = "https://developer.api.autodesk.com/authentication/v2/authorize";

/// <summary>
/// Default value for <see cref="OAuthOptions.TokenEndpoint"/>.
/// </summary>
public static readonly string TokenEndpoint = "https://developer.api.autodesk.com/authentication/v1/gettoken";
public static readonly string TokenEndpoint = "https://developer.api.autodesk.com/authentication/v2/gettoken";

/// <summary>
/// Default value for <see cref="OAuthOptions.UserInformationEndpoint"/>.
/// </summary>
public static readonly string UserInformationEndpoint = "https://developer.api.autodesk.com/userprofile/v1/users/@me";
public static readonly string UserInformationEndpoint = "https://api.userprofile.autodesk.com/userinfo";
}

0 comments on commit 6bbd9b2

Please sign in to comment.