Skip to content

Releases: okta/okta-sdk-golang

Version 2.10.0

24 Jan 22:19
2e0d272
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Released 08/30/2021

Updates

Bug fixes

Version 2.6.1

17 Aug 19:50
2e7612a
Compare
Choose a tag to compare

Released 08/17/2021

Bug fixes

Version 2.6.0

17 Aug 16:52
dd82255
Compare
Choose a tag to compare

Released 08/17/2021

Updates

  • Corrected UserSchemaBase properties field as UserSchemaAttribute #248 @bogdanprodan-okta
  • Added ApplicationSettingsNotes to all apps

Version 2.5.2

12 Aug 16:02
c954cb6
Compare
Choose a tag to compare

Released 08/12/2021

Updates

  • Added more fields to the error struct for different error response patterns from API #246 @bogdanprodan-okta

Bug fixes

  • Fixed error handling for 400/401/403 errors

Version 2.5.1

10 Aug 20:09
8a90442
Compare
Choose a tag to compare

Released 08/10/2021

Updates

Bug fixes

Version 2.5.0

02 Aug 22:24
8807017
Compare
Choose a tag to compare

Released August 8, 2021

Updates