Skip to content

Commit

Permalink
Move CustomizeMFAInPostLoginAction to top level tenant settings (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris authored Oct 24, 2023
1 parent 69d8284 commit 1f406ac
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions management/management.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions management/management.gen_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions management/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ type Tenant struct {

// If `true`, allows accepting an organization name or organization ID on auth endpoints.
AllowOrgNameInAuthAPI *bool `json:"allow_organization_name_in_authentication_api,omitempty"`

// If `true`, flexible factors will be enabled for MFA in the PostLogin action.
CustomizeMFAInPostLoginAction *bool `json:"customize_mfa_in_postlogin_action,omitempty"`
}

// MarshalJSON is a custom serializer for the Tenant type.
Expand Down Expand Up @@ -250,9 +253,6 @@ type TenantFlags struct {
// If `true`, all Clients will be required to use Pushed Authorization Requests.
// This feature currently must be enabled for your tenant.
RequirePushedAuthorizationRequests *bool `json:"require_pushed_authorization_requests,omitempty"`

// If `true`, flexible factors will be enabled for MFA in the PostLogin action.
CustomizeMFAInPostLoginAction *bool `json:"customize_mfa_in_postlogin_action,omitempty"`
}

// TenantUniversalLogin holds universal login settings.
Expand Down

0 comments on commit 1f406ac

Please sign in to comment.