- #231 Adds TypeScript type definitions
-
- Uses
req.url
as key to cache response - Adds
json()
function to the default cache middleware response
- Uses
-
#217 Upgrade dependencies to latest versions, include node 14 into CI test platforms
- #213 Fixes off-by-one error in Collection iterator
- #210
- Adds properties
RefreshToken
andJwks
toOpenIdConnectApplicationSettingsClient
model - Adds models:
- OpenIdConnectApplicationSettingsClientKeys
- OpenIdConnectApplicationSettingsRefreshToken
- OpenIdConnectRefreshTokenRotationType
- Adds properties
-
#196 Updates dependency "flat"
-
#203 Upgrade isomorphic-fetch for security vuln
-
- Supports required params validation
- Adds models:
- AcsEndpoint
- CustomHotpUserFactor
- CustomHotpUserFactorProfile
-
#191 Fixes for...of iteration bug in collection module
-
#180 Fix generated url encoding issue for expirePasswordAndGetTemporaryPassword
-
#167 Drop support for Node 8
-
#147 Major release to update APIs with latest
@okta/openapi
(v2.0.0) that includes new endpoints and changed method names. Please see list below for detailed information:- Fixes
- Fix model constructor when initialize property models
- Pass proper headers for http request
- Factory changes
- Change
FactorFactory
toUserFactorFactory
- Change
- Model changes
- Add
ActivateFactorRequest
- Add
AppAndInstanceConditionEvaluatorAppOrInstance
- Add
AppAndInstancePolicyRuleCondition
- Add
AppInstancePolicyRuleCondition
Application
- Add method
initializtion
- Add method
generateCsr
- Add method
getCsr
- Add method
revokeCsr
- Add method
listCsrs
- Add method
publishCerCert
- Add method
publishBinaryCerCert
- Add method
publishDerCert
- Add method
publishBinaryDerCert
- Add method
publishBinaryPemCert
- Add method
listOAuth2Tokens
- Add method
revokeOAuth2TokenForApplication
- Add method
getOAuth2Token
- Add method
revokeOAuth2Tokens
- Add method
listScopeConsentGrants
- Add method
grantConsentToScope
- Add method
revokeScopeConsentGrant
- Add method
getScopeConsentGrant
- Add method
- Add
ApplicationCredentialsSigningUse
- Add
AssignRoleRequest
- Add
AuthorizationServer
- Add
AuthorizationServerCredentials
- Add
AuthorizationServerCredentialsRotationMode
- Add
AuthorizationServerCredentialsSigningConfig
- Add
AuthorizationServerCredentialsUse
- Add
BeforeScheduledActionPolicyRuleCondition
- Add
Csr
- Add
CsrMetadata
- Add
CsrMetadataSubject
- Add
CsrMetadataSubjectAltNames
- Change
CallFactor
toCallUserFactor
- Change
CallFactorProfile
toCallUserFactorProfile
- Add
CatalogApplication
- Add
CatalogApplicationStatus
- Add
ClientPolicyCondition
- Add
ContextPolicyRuleCondition
- Add
CreateUserRequest
- Add
DevicePolicyRuleCondition
- Add
DevicePolicyRuleConditionPlatform
- Add
Duration
- Remove
EmailAddress
- Remove
EmailStatus
- Remove
EmailType
- Change
EmailFactor
toEmailUserFactor
- Change
EmailFactorProfile
toEmailUserFactorProfile
- Add
EnabledStatus
- Add
EventHook
- Add
EventHookChannel
- Add
EventHookChannelConfig
- Add
EventHookChannelConfigAuthScheme
- Add
EventHookChannelConfigAuthSchemeType
- Add
EventHookChannelConfigHeader
- Add
EventSubscriptions
- Change
Factor
toUserFactor
- Add
Feature
- Add
FeatureStage
- Add
FeatureStageState
- Add
FeatureStageValue
- Add
FeatureType
- Add
GrantTypePolicyRuleCondition
Group
- Add method
listApplications
- Add method
assignRole
- Add method
- Add
GroupPolicyRuleCondition
GroupRule
- Add method
delete
- Add method
- Add
GroupType
- Remove
GroupStats
- Change
HardwareFactor
toHardwareUserFactor
- Change
HardwareFactorProfile
toHardwareUserFactorProfile
- Add
IdentityProvider
- Add
IdentityProviderApplicationUser
- Add
IdentityProviderCredentials
- Add
IdentityProviderCredentialsClient
- Add
IdentityProviderCredentialsSigning
- Add
IdentityProviderCredentialsTrust
- Add
IdentityProviderPolicy
- Add
IdentityProviderPolicyRuleCondition
- Add
InactivityPolicyRuleCondition
- Add
InlineHook
- Add
InlineHookChannel
- Add
InlineHookChannelConfig
- Add
InlineHookChannelConfigAuthScheme
- Add
InlineHookChannelConfigHeaders
- Add
InlineHookPayload
- Add
InlineHookResponse
- Add
InlineHookResponseCommandValue
- Add
InlineHookResponseCommands
- Add
InlineHookStatus
- Add
InlineHookType
- Add
IonField
- Add
IonForm
- Add
JwkUse
- Add
LifecycleExpirationPolicyRuleCondition
- Add
LinkedObject
- Add
LinkedObjectDetails
- Add
LinkedObjectDetailsType
- Add
MDMEnrollmentPolicyRuleCondition
- Add
OAuth2Actor
- Add
OAuth2Claim
- Add
OAuth2ClaimConditions
- Add
OAuth2Client
- Add
OAuth2Actor
- Add
OAuth2Scope
- Add
OAuth2ScopeConsentGrant
- Add
OAuth2ScopeConsentGrantSource
- Add
OAuth2ScopeConsentGrantStatus
- Add
OAuth2ScopesMediationPolicyRuleCondition
- Add
OAuth2Token
- Add
OAuthAuthorizationPolicy
- Add
OpenIdConnectApplicationIssuerMode
PasswordCredential
- Add property
hash
- Add property
hook
- Add property
- Add
PasswordCredentialHash
- Add
PasswordCredentialHashAlgorithm
- Add
PasswordCredentialHook
- Add
PasswordExpirationPolicyRuleCondition
- Add
PlatformConditionEvaluatorPlatform
- Add
PlatformConditionEvaluatorPlatformOperatingSystem
- Add
PlatformConditionEvaluatorPlatformOperatingSystemVersion
- Add
PlatformPolicyRuleCondition
Policy
- Add method
createRule
- Add method
- Add
PolicyAccountLink
- Add
PolicyAccountLinkFilter
- Add
PolicyAccountLinkFilterGroups
- Add
PolicyRuleConditions
- Add
PolicySubject
- Add
PolicySubjectMatchType
- Add
PolicyUserNameTemplate
- Add
Protocol
- Add
ProtocolAlgorithmType
- Add
ProtocolAlgorithmTypeSignature
- Add
ProtocolAlgorithms
- Add
ProtocolEndpoint
- Add
ProtocolEndpoints
- Add
ProtocolRelayState
- Add
ProtocolRelayStateFormat
- Add
ProtocolSettings
- Add
Provisioning
- Add
ProvisioningConditions
- Add
ProvisioningDeprovisionedCondition
- Add
ProvisioningGroups
- Add
ProvisioningSuspendedCondition
- Change
PushFactor
toPushUserFactor
- Change
PushFactorProfile
toPushUserFactorProfile
- Add
ResponseLinks
- Add
RiskPolicyRuleCondition
- Add
RiskScorePolicyRuleCondition
Role
- Add method
addAdminGroupTarget
- Add method
addAppInstanceTargetToAdminRole
- Add method
addAppTargetToAdminRole
- Add method
addAllAppsAsTargetToRole
- Add method
addAppTargetToAppAdminRoleForUser
- Add method
addAppTargetToAdminRoleForUser
- Add method
- Add
RoleAssignmentType
- Add
RoleType
- Add
ScheduledUserLifecycleAction
- Add
Scope
- Add
ScopeType
- Change
SecurityQuestionFactor
toSecurityQuestionUserFactor
- Change
SecurityQuestionFactorProfile
toSecurityQuestionUserFactorProfile
- Add
SmsTemplate
- Add
SmsTemplateTranslations
- Add
SmsTemplateType
- Change
SmsFactor
toSmsUserFactor
- Change
SmsFactorProfile
toSmsUserFactorProfile
- Add
SocialAuthToken
- Change
TokenFactor
toTokenUserFactor
- Change
TokenFactorProfile
toTokenUserFactorProfile
- Change
TotpFactor
toTotpUserFactor
- Change
TotpFactorProfile
toTotpUserFactorProfile
- Add
TrustedOrigin
- Change
U2fFactor
toU2fUserFactor
- Change
U2fFactorProfile
toU2fUserFactorProfile
User
- Add property
type
- Change method
endAllSessions
toclearSessions
- Remove param
queryParameters
fromlistAppLinks
- Remove method
forgotPassword
- Add method
forgotPasswordSetNewPassword
- Add method
forgotPasswordGenerateOneTimeToken
- Change method
addRole
toassignRole
- Change method
listGroupTargetsForRole
tolistGroupTargets
- Change method
removeGroupTargetFromRole
toremoveGroupTarget
- Change method
addGroupTargetToRole
toaddGroupTarget
- Add method
listAssignedRoles
- Add method
addAllAppsAsTarget
- Remove param
queryParameters
fromlistGroups
- Add method
listGrants
- Add method
revokeGrants
- Add method
revokeGrant
- Add method
revokeGrantsForUserAndClient
- Add method
listRefreshTokensForUserAndClient
- Add method
revokeTokenForUserAndClient
- Add method
getRefreshTokenForUserAndClient
- Add method
revokeTokensForUserAndClient
- Add method
listClients
- Add method
reactivate
- Remove param
queryParameters
fromexpirePassword
- Add method
expirePasswordAndGetTemporaryPassword
- Add method
deleteFactor
- Change method
addFactor
toenrollFactor
- Add method
setLinkedObject
- Add method
listIdentityProviders
- Add method
getLinkedObjects
- Add method
removeLinkedObject
- Add property
- Add
UserIdentifierConditionEvaluatorPattern
- Add
UserIdentifierPolicyRuleCondition
- Add
UserIdentityProviderLinkRequest
- Add
UserLifecycleAttributePolicyRuleCondition
- Add
UserPolicyRuleCondition
- Add
UserStatusPolicyRuleCondition
- Add
UserType
- Remove
Verify
- Change
VerifyFactorResponse
toVerifyUserFactorResponse
- Add
WebAuthnUserFactor
- Add
WebAuthnUserFactorProfile
- Change
WebFactor
toWebUserFactor
- Change
WebFactorProfile
toWebUserFactorProfile
- Add
- Client changes
- Add method
listCsrsForApplication
- Add method
generateCsrForApplication
- Add method
revokeCsrFromApplication
- Add method
getCsrForApplication
- Add method
publishCerCert
- Add method
publishBinaryCerCert
- Add method
publishDerCert
- Add method
publishBinaryDerCert
- Add method
publishBinaryPemCert
- Add method
generateApplicationKey
- Add method
listScopeConsentGrants
- Add method
grantConsentToScope
- Add method
revokeScopeConsentGrant
- Add method
getScopeConsentGrant
- Add method
revokeOAuth2TokensForApplication
- Add method
listOAuth2TokensForApplication
- Add method
revokeOAuth2TokenForApplication
- Add method
getOAuth2TokenForApplication
- Add method
listAuthorizationServers
- Add method
createAuthorizationServer
- Add method
deleteAuthorizationServer
- Add method
getAuthorizationServer
- Add method
updateAuthorizationServer
- Add method
listOAuth2Claims
- Add method
createOAuth2Claim
- Add method
deleteOAuth2Claim
- Add method
getOAuth2Claim
- Add method
updateOAuth2Claim
- Add method
listOAuth2ClientsForAuthorizationServer
- Add method
revokeRefreshTokensForAuthorizationServerAndClient
- Add method
listRefreshTokensForAuthorizationServerAndClient
- Add method
revokeRefreshTokenForAuthorizationServerAndClient
- Add method
getRefreshTokenForAuthorizationServerAndClient
- Add method
listAuthorizationServerKeys
- Add method
rotateAuthorizationServerKeys
- Add method
activateAuthorizationServer
- Add method
deactivateAuthorizationServer
- Add method
listAuthorizationServerPolicies
- Add method
createAuthorizationServerPolicy
- Add method
deleteAuthorizationServerPolicy
- Add method
getAuthorizationServerPolicy
- Add method
updateAuthorizationServerPolicy
- Add method
listOAuth2Scopes
- Add method
createOAuth2Scope
- Add method
deleteOAuth2Scope
- Add method
getOAuth2Scope
- Add method
updateOAuth2Scope
- Add method
listEventHooks
- Add method
createEventHook
- Add method
deleteEventHook
- Add method
getEventHook
- Add method
updateEventHook
- Add method
activateEventHook
- Add method
deactivateEventHook
- Add method
verifyEventHook
- Add method
listFeatures
- Add method
getFeature
- Add method
listFeatureDependencies
- Add method
listFeatureDependents
- Add method
updateFeatureLifecycle
- Change
listRules
tolistGroupRules
- Change
createRule
tocreateGroupRule
- Change
deleteRule
todeleteGroupRule
- Change
getRule
togetGroupRule
- Change
updateRule
toupdateGroupRule
- Change
activateRule
toactivateGroupRule
- Change
deactivateRule
todeactivateGroupRule
- Add method
listAssignedApplicationsForGroup
- Add method
listGroupAssignedRoles
- Add method
assignRoleToGroup
- Add method
removeRoleFromGroup
- Add method
getRole
- Add method
listApplicationTargetsForApplicationAdministratorRoleForGroup
- Add method
removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup
- Add method
addApplicationTargetToAdminRoleGivenToGroup
- Add method
removeApplicationTargetFromAdministratorRoleGivenToGroup
- Add method
addApplicationInstanceTargetToAppAdminRoleGivenToGroup
- Add method
listGroupTargetsForGroupRole
- Add method
removeGroupTargetFromGroupAdministratorRoleGivenToGroup
- Add method
addGroupTargetToGroupAdministratorRoleForGroup
- Change
removeGroupUser
toremoveUserFromGroup
- Add method
listIdentityProviders
- Add method
createIdentityProvider
- Add method
listIdentityProviderKeys
- Add method
createIdentityProviderKey
- Add method
deleteIdentityProviderKey
- Add method
getIdentityProviderKey
- Add method
deleteIdentityProvider
- Add method
getIdentityProvider
- Add method
updateIdentityProvider
- Add method
listCsrsForIdentityProvider
- Add method
generateCsrForIdentityProvider
- Add method
revokeCsrForIdentityProvider
- Add method
getCsrForIdentityProvider
- Add method
publishCerCertForIdentityProvider
- Add method
publishBinaryCerCertForIdentityProvider
- Add method
publishDerCertForIdentityProvider
- Add method
publishBinaryDerCertForIdentityProvider
- Add method
publishBinaryPemCertForIdentityProvider
- Add method
listIdentityProviderSigningKeys
- Add method
generateIdentityProviderSigningKey
- Add method
getIdentityProviderSigningKey
- Add method
cloneIdentityProviderKey
- Add method
activateIdentityProvider
- Add method
deactivateIdentityProvider
- Add method
listIdentityProviderApplicationUsers
- Add method
unlinkUserFromIdentityProvider
- Add method
getIdentityProviderApplicationUser
- Add method
linkUserToIdentityProvider
- Add method
listSocialAuthTokens
- Add method
listInlineHooks
- Add method
createInlineHook
- Add method
deleteInlineHook
- Add method
getInlineHook
- Add method
updateInlineHook
- Add method
executeInlineHook
- Add method
activateInlineHook
- Add method
deactivateInlineHook
- Add method
listLinkedObjectDefinitions
- Add method
addLinkedObjectDefinition
- Add method
deleteLinkedObjectDefinition
- Add method
getLinkedObjectDefinition
- Add method
listUserTypes
- Add method
createUserType
- Add method
deleteUserType
- Add method
getUserType
- Add method
updateUserType
- Add method
replaceUserType
- Change
addPolicyRule
tocreatePolicyRule
- Add method
listSmsTemplates
- Add method
createSmsTemplate
- Add method
deleteSmsTemplate
- Add method
getSmsTemplate
- Add method
partialUpdateSmsTemplate
- Add method
updateSmsTemplate
- Add method
listOrigins
- Add method
createOrigin
- Add method
deleteOrigin
- Add method
getOrigin
- Add method
updateOrigin
- Add method
activateOrigin
- Add method
deactivateOrigin
- Add method
setLinkedObjectForUser
- Add method
partialUpdateUser
- Remove param
queryParameters
fromlistAppLinks
- Add method
listUserClients
- Add method
revokeGrantsForUserAndClient
- Add method
listGrantsForUserAndClient
- Add method
revokeTokensForUserAndClient
- Add method
listRefreshTokensForUserAndClient
- Add method
revokeTokenForUserAndClient
- Add method
getRefreshTokenForUserAndClient
- Remove method
forgotPassword
- Add method
forgotPasswordGenerateOneTimeToken
- Add method
forgotPasswordSetNewPassword
- Change
addFactor
toenrollFactor
- Add method
getFactorTransactionStatus
- Add method
revokeUserGrants
- Add method
listUserGrants
- Add method
revokeUserGrant
- Add method
getUserGrant
- Remove param
queryParameters
fromlistUserGroups
- Add method
listUserIdentityProviders
- Remove param
queryParameters
fromexpirePassword
- Add method
expirePasswordAndGetTemporaryPassword
- Add method
reactivateUser
- Change
resetAllFactors
toresetFactors
- Add method
removeLinkedObjectForUser
- Add method
getLinkedObjectsForUser
- Change
listAssignedRoles
tolistAssignedRolesForUser
- Change
addRoleToUser
toassignRoleToUser
- Add method
listApplicationTargetsForApplicationAdministratorRoleForUser
- Add method
addAllAppsAsTargetToRole
- Add method
removeApplicationTargetFromApplicationAdministratorRoleForUser
- Add method
addApplicationTargetToAdminRoleForUser
- Add method
removeApplicationTargetFromAdministratorRoleForUser
- Add method
addApplicationTargetToAppAdminRoleForUser
- Change
endAllUserSessions
toclearUserSessions
- Add method
- Fixes
- #138 Add strategy to handle access token refresh
- #128 Adds support for OAuth
- Updates the Okta Openapi to 1.11
- Adds functionality for Okta Sign In Policy
- Adds functionality for Password Policy
- Adds U2F Factor
- Provides options array to many models
- Dropping node.js version support for anything less than 8.15
- #109 Moves openapi to devdeps; fixes test lint
- #108 Fixes app creation test failures
- #102 Fixes for Application hyperlinks in jsdocs
- #100 Some jsdocs fixes
- #112 Upgrade lodash to 4.17.14
- Drop support for Node 4
- New behavior for
expirationPoll
option on MemoryStore. The expiration poll feature is now opt-in. By default there will be no memory scan to proactively remove key values. Passing a number or null forexpirationPoll
will behave as before. Passing a value oftrue
will use a default of 15000ms. - The DefaultRequestExecutor is now used by default, if no request executor is provided.
- Enable async iteration on any Collection (#93)
- Set node support to 6.9.0 (#95)
- Enable cache expiration polling only if a truthy value is specified (#89)
- Fixes failing client create test (#80)
- Adds a default request executor that will retry requests when rate limit exceptions have occurred. Please see the README for full documentation. This executor is opt-in for now, but will be used by default in the 2.0 release.
- Add an HTTP cache for simple resources fetched by GET.
- Add support for the System Log API, including a subscription interface on collections.
- Fix: client.listUsers().each() executes once for query that returns an empty list (#12).
- Where's 1.0.0?? Due to a nuance of our CD system, this one was skipped :)
- Add support for Application and Session APIs
- Internal update for package.json
- Add support for Factors API
- First release with support for User and Group APIs