Skip to content

Releases: okta/okta-sdk-golang

v2.12.0

15 Apr 19:23
v2.12.0
661050a

Choose a tag to compare

Released 04/15/2022

Updates

  • Update code generation to v2.12.0 of Okta's openapi spec
  • Update to use trusted origins IFRAME_EMBED - IframeEmbedScopeAllowedApps in Scope
  • Completed missing code generation of Policy related models
    • Policy related models implement a Policies interface
    • Correctly handle pass by reference in CreatePolicy, UpdatePolicy

Bug fixes

  • Corrected env var typo on OKTA_CLIENT_REQUEST_TIMEOUT in README
  • Corrected code generation pass by referrence of a Factor instance in EnrollFactor, ActivateFactor, and VerifyFactor
  • Provider query parameter can be boolean or string
  • Corrected out of order method and API parameters
    • AuthorizationServerResource
      • DeleteAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string)
      • GetAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string)
      • UpdateAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string, body AuthorizationServerPolicyRule)
    • AuthorizationServerPolicyRuleResource
      • UpdateAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string, body AuthorizationServerPolicyRule)
      • DeleteAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string)

v2.11.2

31 Mar 21:13
v2.11.2
d92b340

Choose a tag to compare

Released 03/31/2022

Updates

  • Added missing _links property to ResponseLinks model

v2.11.1

10 Mar 23:06
v2.11.1
d80a944

Choose a tag to compare

Released 03/10/2022

Updates

  • Changes sendTestEmail response to a 204 no content instead of 200 success
  • Adds privateKey and teamId properties to IdentityProviderCredentialsSigning to support Apple devices
  • Adds to APPLE to the enums in FactorProvider and LogCredentialProvider

Version 2.11.0

25 Feb 22:26
v2.11.0
65b07d6

Choose a tag to compare

Released 02/25/2022

Updates

New models

  • EmailTemplate
  • EmailTemplateContent
  • EmailTemplateCustomization
  • EmailTemplateCustomizationRequest
  • EmailTemplateResource
  • EmailTemplateTestRequest
  • EmailTemplateTouchPointVariant
  • IdpPolicyRuleAction
  • IdpPolicyRuleActionProvider

Version 2.10.1

05 Feb 02:33
2b920d7

Choose a tag to compare

Released 02/04/2022

Updates

  • Policy is first class parent with child policy types

Bug fixes

  • Special case unmarshal for SocialAuthToken nullable expiresAt being blank from Okta API

Version 2.10.0

24 Jan 22:19
2e0d272

Choose a tag to compare

Released 01/24/2022

Release of openapispec 2.10.0

Supported Endpoints

  • /api/v1/apps/{appId}/connections/default
  • /api/v1/apps/{appId}/connections/default/lifecycle/activate
  • /api/v1/apps/{appId}/connections/default/lifecycle/deactivate
  • /api/v1/apps/{appId}/features
  • /api/v1/apps/{appId}/features/{name}
  • /api/v1/apps/{appId}/logo
  • /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate
  • /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
  • /api/v1/roles/{roleTypeOrRoleId}/subscriptions
  • /api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}
  • /api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe
  • /api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe
  • /api/v1/users/{userId}/subscriptions
  • /api/v1/users/{userId}/subscriptions/{notificationType}
  • /api/v1/users/{userId}/subscriptions/{notificationType}/subscribe
  • /api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe

New Methods

ApplicationResource

  • ActivateDefaultProvisioningConnectionForApplication
  • DeactivateDefaultProvisioningConnectionForApplication
  • GetDefaultProvisioningConnectionForApplication
  • GetFeatureForApplication
  • ListFeaturesForApplication
  • SetDefaultProvisioningConnectionForApplication
  • UpdateFeatureForApplication
  • UploadApplicationLogo

BrandResource

  • UploadBrandThemeBackgroundImage
  • UploadBrandThemeFavicon
  • UploadBrandThemeLogo

OrgSettingResource

  • UpdateOrgLogo

SubscriptionResource

  • GetRoleSubscriptionByNotificationType(ctx context.Context, roleTypeOrRoleId string, notificationType string) (*Subscription, *Response, error) {
  • ListRoleSubscriptions
  • SubscribeRoleSubscriptionByNotificationType
  • SubscribeUserSubscriptionByNotificationType
  • UnsubscribeRoleSubscriptionByNotificationType
  • UnsubscribeUserSubscriptionByNotificationType

UserResource

  • GetUserSubscriptionByNotificationType
  • ListUserSubscriptions

New Constructors:

  • NewApplicationFeature
  • NewCapabilitiesCreateObject
  • NewCapabilitiesObject
  • NewCapabilitiesUpdateObject
  • NewLifecycleCreateSettingObject
  • NewLifecycleDeactivateSettingObject
  • NewOrg2OrgApplication
  • NewOrg2OrgApplicationSettings
  • NewOrg2OrgApplicationSettingsApp
  • NewPasswordSettingObject
  • NewProfileSettingObject
  • NewProvisioningConnection
  • NewProvisioningConnectionProfile
  • NewProvisioningConnectionRequest

New Models and/or Updated models

  • ApplicationFeature
  • CapabilitiesCreateObject
  • CapabilitiesObject
  • CapabilitiesUpdateObject
  • ChangeEnum
  • LifecycleCreateSettingObject
  • LifecycleDeactivateSettingObject
  • NotificationType
  • Org2OrgApplication
  • Org2OrgApplicationSettings
  • Org2OrgApplicationSettingsApp
  • PasswordSettingObject
  • ProfileSettingObject
  • ProvisioningConnection
  • ProvisioningConnectionAuthScheme
  • ProvisioningConnectionProfile
  • ProvisioningConnectionRequest
  • ProvisioningConnectionStatus
  • SeedEnum
  • Subscription
  • SubscriptionStatus

Version 2.9.2

30 Nov 16:54
8d335ca

Choose a tag to compare

Released 11/30/2021

Updates

  • Adjustments were made the attributes on the DeviceAccessPolicyRuleCondition type.
  • Adding GroupProfileMap attribute to GroupProfile struct to support additional properties. See #268

Version 2.9.1

05 Nov 19:28
8b91031

Choose a tag to compare

Released 11/05/2021

New Types / Models

  • AccessPolicy
  • AccessPolicyConstraint
  • AccessPolicyConstraints
  • AccessPolicyRule
  • AccessPolicyRuleActions
  • AccessPolicyRuleApplicationSignOn
  • AccessPolicyRuleConditions
  • AccessPolicyRuleCustomCondition
  • AuthenticatorProvider
  • AuthenticatorProviderConfiguration
  • AuthenticatorProviderConfigurationUserNamePlate
  • BrandResource
  • Brand
  • ChannelBinding
  • Compliance
  • DeviceAccessPolicyRuleCondition
  • EmailTemplateTouchPointVariant
  • EndUserDashboardTouchPointVariant
  • ErrorPageTouchPointVariant
  • FipsEnum
  • ImageUploadResponse
  • KnowledgeConstraint
  • PossessionConstraint
  • PreRegistrationInlineHook
  • ProfileEnrollmentPolicy
  • ProfileEnrollmentPolicyRule
  • ProfileEnrollmentPolicyRuleAction
  • ProfileEnrollmentPolicyRuleActions
  • ProfileEnrollmentPolicyRuleActivationRequirement
  • ProfileEnrollmentPolicyRuleProfileAttribute
  • RequiredEnum
  • SignInPageTouchPointVariant
  • ThemeResource
  • Theme
  • ThemeResponse
  • UserTypeCondition
  • UserVerificationEnum
  • VerificationMethod

New Methods

  • AuthenticatorResource
    • GetAuthenticator
    • UpdateAuthenticator
    • ListAuthenticators
  • BrandResource
    • GetBrand
    • UpdateBrand
    • ListBrands
    • ListBrandThemes
    • GetBrandTheme
    • UpdateBrandTheme
    • DeleteBrandThemeBackgroundImage
    • UploadBrandThemeBackgroundImage
    • DeleteBrandThemeFavicon
    • UploadBrandThemeFavicon
    • DeleteBrandThemeLogo
    • UploadBrandThemeLogo
  • OrgSettingResource
    • UpdateOrgLogo
    • GetOrgPreferences
    • HideOktaUIFooter
    • ShowOktaUIFooter
    • OptInUsersToOktaCommunicationEmails
    • OptOutUsersFromOktaCommunicationEmails
    • GetOrgOktaSupportSettings
    • ExtendOktaSupport
    • GrantOktaSupport
    • RevokeOktaSupport
  • ThemeResource
    • GetBrandTheme
    • UpdateBrandTheme

Updates

  • Updated Authenticators integration tests
  • Integration tests on IdentityProviderResource

Version 2.8.0

08 Oct 16:04
e4b8f4d

Choose a tag to compare

Released 10/08/2021

Updates

  • methods on client's Authenticator resource for /api/v1/authenticators endpoints and their integration tests
  • methods on client's OrgSetting resource for /api/v1/org endpoints and their integration tests
  • edge case type fixes in golang code generator
  • make pull-spec pulls from https://github.com/okta/okta-management-openapi-spec master or branch set by OPENAPI_SPEC_BRANCH env variable
  • golang generator sets api version from spec.json or by env variable override OKTA_SDK_GOLANG_VERISON
  • integration test improvements

Version 2.6.2

30 Aug 18:30
cccfc40

Choose a tag to compare

Released 08/30/2021

Updates

Bug fixes