Skip to content

Releases: okta/okta-sdk-golang

Version 2.1.0

26 Oct 13:55
d3d2def

Choose a tag to compare

Released October 26, 2020

New Structs

  • AcsEndpoint
  • CatalogApplication
  • CatalogApplicationStatus
  • CustomHotpUserFactor
  • CustomHotpUserFactorProfile
  • InlineHookStatus
  • InlineHookType
  • WebAuthnUserFactor
  • WebAuthnUserFactorProfile

Bug Fixes

  • Updates okta/config.go to use github.com/okta/okta-sdk-golang/v2/okta/cache (#167, Resolves #149)
  • Updates okta/config.go to use int64 for ConnectionTimeout and RequestTimeout (#166)
  • ListApplicationTargetsForApplicationAdministratorRoleForGroup now returns correct []CatalogApplication
  • ListApplicationTargetsForApplicationAdministratorRoleForUser now returns correct []CatalogApplication
  • JsonWebKey.ExpiresAt changed to correctly use *time.Time
  • verifyUserFactorResponse.ExpiresAt changed to correctly use *time.Time
  • Correctly reads .okta.yaml from project root directory
  • Updated typo in PasswordCredentialHash struct and changed WorkerFactor to the correct WorkFactor

Updates

  • Updates to @okta/openapi 2.1.1 (And associated Generator Updates)
  • Added UserId to OAuth2ScopeConsentGrant struct
  • Now Returns error instead of panic from config in okta.go (Resolves #122)
  • RequestExecutor returns error if privPem is null when using PrivateKey authentication
  • Added AcsEndpoints and AllowMultipleAcsEndpoints properties to SamlApplicationSettingsSignOn
  • Added FilterType and FilterValue to SamlAttributeStatement (Resolves #76)
  • Generated file header in line with Go standard (Resolves #118)

Version 2.0.0

06 Jun 01:11
0b49dc6

Choose a tag to compare

Released June 5, 2020

Official Release of v2.0 of the Okta Golang SDK

Version 2.0.0-rc.5

02 Jun 14:33
c4e3703

Choose a tag to compare

Version 2.0.0-rc.5 Pre-release
Pre-release

Released June 2, 2020

  • Remove PreviewSamlMetadataForApplication method from ApplicationResource
  • Kid Query Param removed
  • KeepCurrent Query Param removed
  • ActivateFactorRequest struct added
  • New Method GenerateApplicationKey added to ApplicationResource
  • FactorResultType struct added
  • OpenIdConnectApplicationIssuerMode struct added
  • InitiateLoginUri property (type string) added to OpenIdConnectApplicationSettingsClient struct
  • IssuerMode property (type string) added to OpenIdConnectApplicationSettingsClient struct
  • Format property (type []string) added to PolicySubject struct
  • ExpiresAt property (type *time.Time) added to PushUserFactor struct
  • FactorResult property (type string) added to PushUserFactor struct
  • Remove ClearCurrentUserSession from UserResource
  • UserFactorResource method ActivateFactor now takes ActivateFactorRequest as the body param instead of VerifyFactorRequest
  • NextPassCode property (type string) added to VerifyFactorRequest struct
  • 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

28 Apr 19:23
8d045d3

Choose a tag to compare

Version 2.0.0-rc.3 Pre-release
Pre-release

Released April 28, 2020

  • Ability to pass context to each method that is sent into the request
  • Update with latest spec version

Version 2.0.0-rc.2

22 Apr 13:36
935e998

Choose a tag to compare

Version 2.0.0-rc.2 Pre-release
Pre-release

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

14 May 19:01
f273a5b

Choose a tag to compare

Version 2.0.0-rc.4 Pre-release
Pre-release

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

07 Apr 18:33
2d06cbb

Choose a tag to compare

Version 2.0.0-rc.1 Pre-release
Pre-release

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

05 Mar 22:00
3536e4d

Choose a tag to compare

Released March 5, 2020

  • Implements OAuth for Okta functionality (#112)
  • Handle Rate Limit by default

Version 1.0.1

23 Aug 18:33
7258003

Choose a tag to compare

Released August 23, 2019

  • Updates generation when obj.commonType is array (Fixes #81)
  • Updates SMS Factor Test to use correct phone number to prevent errors

Version 1.0.0

05 Aug 19:49
da407cb

Choose a tag to compare

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}"))