Skip to content

Commit

Permalink
Merge pull request #1 from ClaysonIO/patch-1
Browse files Browse the repository at this point in the history
Update endpoint URLs in AutodeskAuthenticationDefaults.cs to v2
  • Loading branch information
ClaysonIO authored Jun 23, 2023
2 parents 4e7da70 + 6bbd9b2 commit 1b811cb
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 1b811cb

Please sign in to comment.