Running changelog of releases since 2.0.0-rc.4
- Added more fields to the error struct for different error response patterns from API #246 @bogdanprodan-okta
- Fixed error handling for 400/401/403 errors
- Hardcode to version 2.5.1 off of main branch of Okta's openapi spec https://github.com/okta/okta-management-openapi-spec
- 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
- 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
- Support opaque private keys (#225) @aborrello
- Improve OAuth 2.0 servapp doc (#221) @juanmatias
- Removed omitempty from ApplicationGroupAssignment priority field (#218) @bogdanprodan-okta
- Added
WithHttpClientPtr
,WithHttpClientPtr
(#214) @bogdanprodan-okta - Remove omitempty of 'default_scope' field (#212) @bogdanprodan-okta
- Add exported OKTA_ACCESS_TOKEN constant (#213) @bretterer
- Adds Stalebot workflow (#210) @bretterer
- Fixed typo in error message of "too many requests" #230 @halmai
- AuthorizationServerPolicy
- AuthorizationServerPolicyRule
- Fixed response body parsing
- Fix error handling for 401 error
- Retry on EOF errors from HTTP client
- Update
SamlApplicationSettingsSignOn
properties to includeSingleLogout
andSpCertificate
- Update
InlineHookChannelConfig
properties to includeMethod
- Update
OpenIdConnectApplicationSettingsClient
properties to includeIdpInitiatedLogin
- Update default connection Timeout to
60
seconds (#185) - Http Client now uses
Timeout
setting for connection timeout (#185) - SDK no longer cancels context (#185)
OpenIdConnectApplicationSettingsClientKeys
OpenIdConnectApplicationSettingsRefreshToken
OpenIdConnectRefreshTokenRotationType
- Updates
okta/OpenIdConnectApplicationSettingsClient
properties to includejwks []JsonWebKey
(Resolves #176) NewCustomHotpUserFactor
sets factor type totoken:htop
- Removes vendor directory
- Updates
OpenIdConnectApplicationSettingsClient
properties to includeRefreshToken *OpenIdConnectApplicationSettingsRefreshToken
AcsEndpoint
CatalogApplication
CatalogApplicationStatus
CustomHotpUserFactor
CustomHotpUserFactorProfile
InlineHookStatus
InlineHookType
WebAuthnUserFactor
WebAuthnUserFactorProfile
- Updates
okta/config.go
to usegithub.com/okta/okta-sdk-golang/v2/okta/cache
(#167, Resolves #149) - Updates
okta/config.go
to useint64
forConnectionTimeout
andRequestTimeout
(#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 changedWorkerFactor
to the correctWorkFactor
- Updates to @okta/openapi 2.1.1 (And associated Generator Updates)
- Added
UserId
toOAuth2ScopeConsentGrant
struct - Now Returns error instead of panic from config in
okta.go
(Resolves #122) RequestExecutor
returns error ifprivPem
is null when using PrivateKey authentication- Added
AcsEndpoints
andAllowMultipleAcsEndpoints
properties toSamlApplicationSettingsSignOn
- Added
FilterType
andFilterValue
toSamlAttributeStatement
(Resolves #76) - Generated file header in line with Go standard (Resolves #118)
- Official Release of v2 Okta Golang SDK (June 4, 2020)
CSR
Model has been renamed toCsr
CSRMetadata
Model has been renamed toCsrMetadata
CSRMetadataSubject
Model has been renamed toCsrMetadataSubject
CSRMetadataSubjectAltNames
Model has been renamed toCsrMetadataSubjectAltNames
GenerateCsrForIdentityProvider
now sets accept header correctly toapplication/json
- Remove
PreviewSamlMetadataForApplication
method fromApplicationResource
Kid
Query Param removedKeepCurrent
Query Param removedActivateFactorRequest
struct added- New Method
GenerateApplicationKey
added toApplicationResource
FactorResultType
struct addedOpenIdConnectApplicationIssuerMode
struct addedInitiateLoginUri
property (type string) added toOpenIdConnectApplicationSettingsClient
structIssuerMode
property (type string) added toOpenIdConnectApplicationSettingsClient
structFormat
property (type []string) added toPolicySubject
structExpiresAt
property (type *time.Time) added toPushUserFactor
structFactorResult
property (type string) added toPushUserFactor
struct- Remove
ClearCurrentUserSession
fromUserResource
UserFactorResource
methodActivateFactor
now takesActivateFactorRequest
as thebody
param instead ofVerifyFactorRequest
NextPassCode
property (type string) added toVerifyFactorRequest
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
- Updated Resource Executor to handle nil pointer dereference (#125, fix suggested by @johanbrandhorst)
- Updates JWT Signer Package issues (#121, fix suggested by @Jmainguy)