pypi okta 2.0.0
Version 2.0.0

latest releases: 2.4.0, 2.3.1, 2.3.0...
2 years ago

v2.0.0

  • Regenerate code using the open API spec v2.5.0.
  • Make sign_on_mode of all apps instance of enum, issue #198 (this change might be not compatible with custom clients code, although probability is low)
  • Add response headers to OktaAPIResponse object, issue #218

New resources:

  • Domain
  • UserSchema

New models:

  • DnsRecord
  • DnsRecordType
  • Domain
  • DomainCertificate
  • DomainCertificateMetadata
  • DomainCertificateSourceType
  • DomainCertificateType
  • DomainListResponse
  • DomainValidationStatus
  • UserSchemaAttributeEnum
  • UserSchemaAttributeItems
  • UserSchemaAttributeMasterPriority
  • UserSchemaAttributeMasterType
  • UserSchemaAttributeScope
  • UserSchemaAttributeType
  • UserSchemaAttributeUnion
  • UserSchemaProperties
  • UserSchemaPropertiesProfile
  • UserSchemaPropertiesProfileItem

Breaking changes

Previously, the type of sign_on_mode attribute was inconsistent among different applications. While some applications, including the generic application, defined this attribute as string, others defined it as ApplicationSignOnMode.

We have now standardized the sign_on_mode attribute making its type an ApplicationSignOnMode. Thus, code like the following, which was working previously, won't provide desired result:

# if sign_on_mode is not an ApplicationSignOnMode type, then it should be string; but now all sign_on_modes are of type ApplicationSignOnMode
if not isinstance(app.sign_on_mode, ApplicationSignOnMode):
    do_some_stuff()

Don't miss a new okta release

NewReleases is sending notifications on new releases.