Releases: okta/okta-sdk-golang
Releases · okta/okta-sdk-golang
Version 2.10.0
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
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
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
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 byOPENAPI_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
Released 08/30/2021
Updates
- Okta API Group Schema support #256 thanks @bogdanprodan-okta
Bug fixes
- Fix race condition #257 thanks @bogdanprodan-okta, @maxkondr
Version 2.6.1
Released 08/17/2021
Bug fixes
- Pass previous query parameters to the NextPage URL #252 @bogdanprodan-okta
Version 2.6.0
Released 08/17/2021
Updates
- Corrected UserSchemaBase properties field as UserSchemaAttribute #248 @bogdanprodan-okta
- Added ApplicationSettingsNotes to all apps
Version 2.5.2
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
Released 08/10/2021
Updates
- Hardcode to version 2.5.1 off of main branch of Okta's openapi spec https://github.com/okta/okta-management-openapi-spec
Bug fixes
- Fixed code generation inconsistencies from Okta's open API spec #243 @bogdanprodan-okta
- Fixed/improved app instances interface implementations, removed 'omitemty' tags #241 @bogdanprodan-okta
- Fixed failed access token requests are not retried. #194 @adw1n
- Fixed
client.User.CreateUser
example in README. #231 @Sanil2108
Version 2.5.0
Released August 8, 2021
Updates
- Update generated code to version 2.5.0 of Okta's openapi spec https://github.com/okta/okta-management-openapi-spec
- Refine Makefile's flexibility