Releases: okta/okta-sdk-golang
Version 2.1.0
Released October 26, 2020
New Structs
AcsEndpointCatalogApplicationCatalogApplicationStatusCustomHotpUserFactorCustomHotpUserFactorProfileInlineHookStatusInlineHookTypeWebAuthnUserFactorWebAuthnUserFactorProfile
Bug Fixes
- Updates
okta/config.goto usegithub.com/okta/okta-sdk-golang/v2/okta/cache(#167, Resolves #149) - Updates
okta/config.goto useint64forConnectionTimeoutandRequestTimeout(#166) ListApplicationTargetsForApplicationAdministratorRoleForGroupnow returns correct[]CatalogApplicationListApplicationTargetsForApplicationAdministratorRoleForUsernow returns correct[]CatalogApplicationJsonWebKey.ExpiresAtchanged to correctly use*time.TimeverifyUserFactorResponse.ExpiresAtchanged to correctly use*time.Time- Correctly reads
.okta.yamlfrom project root directory - Updated typo in
PasswordCredentialHashstruct and changedWorkerFactorto the correctWorkFactor
Updates
- Updates to @okta/openapi 2.1.1 (And associated Generator Updates)
- Added
UserIdtoOAuth2ScopeConsentGrantstruct - Now Returns error instead of panic from config in
okta.go(Resolves #122) RequestExecutorreturns error ifprivPemis null when using PrivateKey authentication- Added
AcsEndpointsandAllowMultipleAcsEndpointsproperties toSamlApplicationSettingsSignOn - Added
FilterTypeandFilterValuetoSamlAttributeStatement(Resolves #76) - Generated file header in line with Go standard (Resolves #118)
Version 2.0.0
Released June 5, 2020
Official Release of v2.0 of the Okta Golang SDK
Version 2.0.0-rc.5
Released June 2, 2020
- Remove
PreviewSamlMetadataForApplicationmethod fromApplicationResource KidQuery Param removedKeepCurrentQuery Param removedActivateFactorRequeststruct added- New Method
GenerateApplicationKeyadded toApplicationResource FactorResultTypestruct addedOpenIdConnectApplicationIssuerModestruct addedInitiateLoginUriproperty (type string) added toOpenIdConnectApplicationSettingsClientstructIssuerModeproperty (type string) added toOpenIdConnectApplicationSettingsClientstructFormatproperty (type []string) added toPolicySubjectstructExpiresAtproperty (type *time.Time) added toPushUserFactorstructFactorResultproperty (type string) added toPushUserFactorstruct- Remove
ClearCurrentUserSessionfromUserResource UserFactorResourcemethodActivateFactornow takesActivateFactorRequestas thebodyparam instead ofVerifyFactorRequestNextPassCodeproperty (type string) added toVerifyFactorRequeststruct- Update Readme to show how to access
RequestExecutor(Fixes #83) - Fixes Cache EOF (Fixes #103 and Fixes #36)
- Update all enum objects to
type string(Fixes #95) - Implement Pagination
Version 2.0.0-rc.3
Released April 28, 2020
- Ability to pass
contextto each method that is sent into the request - Update with latest spec version
Version 2.0.0-rc.2
Released April 22, 2020
- Updates directory structure to make more sense
- Fixes Module name to be
github.com/okta/okta-sdk-golang/v2
Version 2.0.0-rc.4
Released May 15, 2020
- Updated Resource Executor to handle nil pointer dereference (#125, fix suggested by @johanbrandhorst)
- Updates JWT Signer Package issues (#121, fix suggested by @Jmainguy)
Version 2.0.0-rc.1
Released April 7, 2020
This is a major breaking change release. A lot of updates have been made to method names and signatures. We are working on changelog and/or upgrading guide for this release.
This SDK now supports ALL endpoints that are documented at developer.okta.com
This is a PRE-RELEASE and should be used for testing your current applications for the upgrade. We welcome feedback and PR's into this branch.
Version 1.1.0
Released March 5, 2020
- Implements OAuth for Okta functionality (#112)
- Handle Rate Limit by default
Version 1.0.1
Released August 23, 2019
- Updates generation when
obj.commonTypeis array (Fixes #81) - Updates SMS Factor Test to use correct phone number to prevent errors
Version 1.0.0
Released August 5, 2018
WE'RE OUT OF BETA!
This is our initial non-beta release of the Golang SDK.
Readme has been updated to current usages.
Biggest change is with the config and client settings. You no longer have to create a new config object to pass into the client. You create a new client via:
client, _ := okta.NewClient(context, okta.WithOrgUrl("https://{yourOktaDomain}"), okta.WithToken("{apiToken}"))