Skip to content

Latest commit

 

History

History
337 lines (210 loc) · 13.2 KB

CHANGELOG.md

File metadata and controls

337 lines (210 loc) · 13.2 KB

Changelog

Running changelog of releases since 3.1.1

8.0.0

  • Add support for OAuth 2.0 DPoP (#697)
  • Fix "UserSchemaAttributes minLength and maxLength are non-nullable and cause array schema attribute creation to fail." issue (#702)
  • Fix "Unable to access Links (_links) in version 7 for an IdentityProvider when using GetIdentityProviderAsync/CreateIdentityProviderAsync" (#700)
  • Rollback PolicyCanBeCreatedOrUpdated schema changes
  • Remove obsolete methods for IdentityProviderPolicy
  • Update AppAndInstanceConditionEvaluatorAppOrInstance.Id readonly property from true to false (#716)

7.0.6

  • Update OAS3 with the latest IdP Discovery policy changes.
  • IdentityProviderPolicy will no longer inherit from Policy in the major release. The inheritance has been marked as obsolete.
  • The following PolicyApi methods have been marked as obsolete, and will be removed in the next major version:
    • System.Threading.Tasks.Task<Policy> CreatePolicyAsync(Policy policy, bool? activate = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
    • System.Threading.Tasks.Task<ApiResponse<Policy>> CreatePolicyWithHttpInfoAsync(Policy policy, bool? activate = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
    • System.Threading.Tasks.Task<Policy> ReplacePolicyAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
    • System.Threading.Tasks.Task<ApiResponse<Policy>> ReplacePolicyWithHttpInfoAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); They will be replaced by the following ones:
    • System.Threading.Tasks.Task<PolicyCanBeCreatedOrReplaced> CreatePolicyAsync( PolicyCanBeCreatedOrReplaced policy , bool? activate = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
    • System.Threading.Tasks.Task<ApiResponse<PolicyCanBeCreatedOrReplaced>> CreatePolicyWithHttpInfoAsync( PolicyCanBeCreatedOrReplaced policy , bool? activate = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
    • System.Threading.Tasks.Task<Policy> ReplacePolicyAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
    • System.Threading.Tasks.Task<ApiResponse<Policy>> ReplacePolicyWithHttpInfoAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
  • Fix "API Gap - IdP Discovery Policy Rule does not exist" issue (#687)

7.0.5

  • Downgrade System.IdentityModel.Tokens* dependencies from 7.2.0 to 6.35.0 to avoid breaking changes (#692)

7.0.4

  • Update vulnerable System.IdentityModel.Tokens.Jwt dependency (OKTA-683207)
  • Fix "Missing application settings when fetching SamlApplication" (#644)

7.0.3

  • Fix "Missing data in verifyFactorRequest prevents verifying webauthn" (OKTA-656179)

7.0.2

  • Fix "JTI Claim as a string instead of guid" (#682)

7.0.1

  • Fix "Incosistent Exception Handling" issue (#658)
  • Fix "Update UserType.Id to be editable" issue (#660)
  • Fix "Nuget package missing license information" issue (#667)
  • Fix "VerifyUserFactorResponse doesn't correspond with the server's response" (#665)

7.0.0

  • Upgraded the RestSharp dependency from 106.13.0 to 110.2.0 (#606)
  • Upgraded the Okta management OpenAPI specification to be aligned with the Okta release v2023.07.0.
  • New API clients added:
  • ApiServiceIntegrationsApi
  • ApplicationSSOApi
  • AttackProtectionApi
  • EmailServerApi
  • IdentitySourceApi
  • RealmApi
  • UISchemaApi

6.0.11

  • Fix "Create/Update Account returns NULL when okta tenant hits rate limits" issue (#638)

6.0.10

  • Fix "DeleteFactorAsync not removing phone with removeEnrollmentRecovery" issue (#630)
  • Fix "ChangePasswordRequest.revokeSessions does not exist" issue (#624)

6.0.9

  • Fix "Retrieving Group no Longer Retrieves Additional Profile Data" issue (#634)

6.0.8

  • Fix "API Calls Trap Request Timeout Exceptions" issue (#632)
  • Fix "Resend SMS as part of enrollment" issue (#633)
  • Update IamRoles.Permissions object type from Object to HrefObject.
  • Add IamRoles.Self property.

6.0.7

  • Fix "UpdateProfileMappingAsync doesn't update properties" issue (#618)
  • Fix "UpdateUserAsync should allow updating the user type" issue (#615)

6.0.6

  • Fix ResourceSet API and keep previous interface marked as obsolete for backwards compatibility.

6.0.5

  • Fix "SDK calls with private key authorization mode start returning empty results after inner access token expired" issue (#616)

6.0.4

  • Fix "PartialUpdateUserAsync behaves differently in Okta.Sdk v6" issue (#614)
  • Ignore null values during JSON serialization.

6.0.3

  • Fix "Listing IAM roles doesn't work" (#617)

6.0.2

  • Fix "Pagination not working when using PrivateKey Authorization Mode" issue (#613)

6.0.1

  • Make AppUser.PasswordChanged property nullable (#599)
  • Fix "invalid audience" issue (#600)

6.0.0

  • Add support for StringEnum
  • Update OpenAPI spec

6.0.0-beta02

  • Add support for OAuth for Okta
  • Add support for Proxy configuration
  • Add support for dynamic properties

6.0.0-beta01

5.6.2

Bug Fixes

  • Add search parameter to GroupsClient.ListGroups to align with documentation

5.6.1

Bug Fixes

  • Pass HttpClient to DefaultOAuthTokenProvider (#571)

5.6.0

  • Update Open API spec to 2.12.0
  • Add Application.UpdateApplicationPolicyAsync method
  • Add APPLE as a LogCredentialProvider option
  • Add support for AllowedOktaApps in Scopes
  • Add IframeEmbed as a ScopeType option

v5.5.0

v5.4.1

Bug Fixes

  • Fix the issue "SDK doesn't retry a call to the server when the token has expired" (PrivateKey mode) (#535)

v5.4.0

v5.3.2

Bug Fixes

  • Fix Unable to create OktaClient on linux build server after 5.2.1 upgrade. (#526)

v5.3.1

Features

  • Add VerifyUserFactorResponse.GetTransactionId method to simplify access to the transaction ID of the VerifyUserFactorResponse where appropriate. The transaction ID is further used with the GetFactorTransactionStatusAsync operation. See Issue a Push Factor challenge for details. (#507)

v5.3.0

Features

Updates

  • Group.AssignRoleAsync(IAssignRoleRequest assignRoleRequest, string disableNotifications, CancellationToken cancellationToken = default(CancellationToken)); is not marked as obsolete. Use Group.AssignRoleAsync(IAssignRoleRequest assignRoleRequest, bool? disableNotifications = null, CancellationToken cancellationToken = default(CancellationToken)); instead.
  • UsersClient. AssignRoleToUserAsync(IAssignRoleRequest assignRoleRequest, string userId, string disableNotifications, CancellationToken cancellationToken = default(CancellationToken)); is not marked as obsolete. Use UsersClient. AssignRoleToUserAsync(IAssignRoleRequest assignRoleRequest, string userId, bool? disableNotifications = null, CancellationToken cancellationToken = default(CancellationToken)); instead.

v5.2.1

Update

  • Remove FlexibleConfiguration dependency and use .NET Configuration Providers instead.

v5.2.0

Features

  • Regenerate code using the open API spec v2.6.0
  • Add new models and operations to support the following:
  • Add an overload for GroupsClient.DeleteGroupRuleAsync method. Now you can specify removeUsers parameter indicating whether to keep or remove users from groups assigned by this rule.

Bug Fixes

  • Fix GroupsClient.ListGroups filter parameter doesn't work. Replaced with search parameter.
  • Fix AuthorizationServerPolicyRule.ActivateAsync doesn't work.

v5.1.1

Features

  • Change JWT Expiration time - 50 minutes will be used in order to have a 10 minutes leeway in case of clock skew.

v5.1.0

Features

  • Update dependencies
  • FlexibleConfiguration 1.2.2 -> 2.0.0
  • Microsoft.Extensions.Logging 3.1.1 -> 5.0.0
  • System.IdentityModel.Tokens.Jwt 5.6.0 -> 6.11.1
  • Newtonsoft.Json 12.0.3 -> 13.0.1
  • System.Interactive.Async 4.0.0 -> 5.0.0

v5.0.0

Features

New models:

  • UserSchema
  • UserSchemaAttribute
  • UserSchemaAttributeMaster
  • UserSchemaAttributePermission
  • UserSchemaBase
  • UserSchemaBaseProperties
  • UserSchemaDefinitions
  • UserSchemaPublic
  • UserSchemasClient

Breaking changes

Before:

{                                                 deserializedResource.Prop1.Should().Be("Hello World!");          
    prop1 : "Hello World!",         =>            deserializedResource.NestedObject.Should().NotBeNull();
    nestedObject: null                            deserializedResource.NestedObject.Prop1.Should().BeNull();
}

Now:

{                                                 deserializedResource.Prop1.Should().Be("Hello World!");          
    prop1 : "Hello World!",         =>            deserializedResource.NestedObject.Should().BeNull();
    nestedObject: null                            
}

v4.0.0

Features

Bug Fixes

  • Fix AuthorizationServer.Policy.ListPolicyRules 404 error (#415). This fix requires a breaking change.
  • Fix "New IApplication.Profile doesn't save when empty" issue (#319).

v3.2.1

Features

  • Regenerate code using openapi 2.1.6
  • Add RefreshToken property to OpenIdConnectApplicationSettingsClient
  • Add Jwks property to OpenIdConnectApplicationSettingsClient

Additions

  • New models: OpenIdConnectRefreshTokenRotationType and OpenIdConnectApplicationSettingsRefreshToken

Bug Fixes

  • Add expand property back to GroupsClient.ListGroups method (#447)

v3.2.0

Features

  • Add helper method to create users with imported hashed password (#402)
  • Add helper methods to create policy rules (#287)

Bug Fixes

  • Add TryGetHomePath method to avoid throwing an exception if HOME environment variable is missing (#316)

Documentation

  • Fix code samples in the README file.

v3.1.1

Bug Fixes

  • Expose TrustedOrigins client in the OktaClient (#413)