Releases: okta/okta-sdk-golang
v2.16.0
v2.16.0
- All API integers, which previously had been typed as
int64
, are now typed
*int64
so that serialization of actual0
values are not ignored when
omitempty tags are present for serialization.
v2.15.0
v2.15.0
Additions
- Added
POST /api/v1/authenticators
forCreateAuthenticator
method toAuthenticatorResource
model by @monde in okta/okta-management-openapi-spec#154 - Added
/api/v1/apps/${applicationId}/credentials/secrets
endpoints andClientSecret
model by @monde in okta/okta-management-openapi-spec#146 - Added property
pkce_required
to theApplicationCredentialsOAuthClient
model by @monde in okta/okta-management-openapi-spec#145 - Added
uiSchemaId
property to theProfileEnrollmentPolicyRuleAction
model by @emanor-okta in okta/okta-management-openapi-spec#144
Bug fixes
- Corrected parameters order
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}
- By @monde okta/okta-management-openapi-spec#131
v3.0.0-beta.1
We're excited to drop the first prerelease version of the new OASv3 compatible Okta Management SDK for Go! 🎉
This version is beta-quality. We'd love for you to play with it and give us your thoughts, but we don't recommend using it in production applications. Based on the feedback we receive, we'll be iterating it towards a stable release over the next few weeks. There may be breaking changes to the interfaces before stabilizing
Note: The 3.0.0-beta series is located in the oasv3-migration branch
What's included today
In this first beta version, we ported some of the existing features to the new SDK:
- Inline configuration, configuration via environment variables, appsettings.json, or YAML files
- Manual Pagination for collections
- Default retry strategy for 429 HTTP responses
- Proxy support
If you've been using the existing Okta SDK (version 2.x), you can opt to try this new version (which will require some code changes), or stick with what you already have. The 2.x series of the SDK is still supported.
v2.14.0
Released 08/24/2022
v2.14.0
Okta SDK Golang release in conjunction with v2.14.0 of the Okta OpenAPI Specification (Management APIs)
Updates
- Added property
inactivityPeriod
toVerificationMethod
model openapi-2.14.0 - OAuth tokens are cached regardless of what request cache manager is utilized on the client.
v2.13.0
Released 06/21/2022
v2.13.0
Okta SDK Golang release in conjunction with v2.13.0 of the Okta OpenAPI Specification (Management APIs)
Updates
- Added properties
host
,integrationKey
, andsecretKey
toAuthenticatorProviderConfiguration
model to support Duo Authenticator openapi-2.13.0 - Renamed query parameter
search
tofilter
onGET /api/v1/groups
endpoint openapi-2.13.0 - New feature, SDK client can authenticate with Bearer token orienting the SDK client to the security scope of a specific application #310
- Added ability to specify JWT kid header #308
Bug fixes
- Schema API calls with one of / enum values will have correct type when calling API #312
v2.12.1
Released 04/19/2022
v2.12.1
- Corrected out of order method and API parameters
AuthorizationServerResource
ListAuthorizationServerPolicyRules(ctx context.Context, authServerId string, policyId string)
CreateAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, body AuthorizationServerPolicyRule)
- Corrected
ListPolicies
generation for newPolicies
interface.
v2.12.0
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
- Policy related models implement a
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
, andVerifyFactor
- 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
Released 03/31/2022
Updates
- Added missing
_links
property toResponseLinks
model
v2.11.1
Released 03/10/2022
Updates
- Changes
sendTestEmail
response to a204 no content
instead of200 success
- Adds
privateKey
andteamId
properties toIdentityProviderCredentialsSigning
to support Apple devices - Adds to
APPLE
to the enums inFactorProvider
andLogCredentialProvider
Version 2.11.0
Released 02/25/2022
Updates
New models
EmailTemplate
EmailTemplateContent
EmailTemplateCustomization
EmailTemplateCustomizationRequest
EmailTemplateResource
EmailTemplateTestRequest
EmailTemplateTouchPointVariant
IdpPolicyRuleAction
IdpPolicyRuleActionProvider