Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding several missing tenant flags #80

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Jun 29, 2022

Description

Adding the following feature flags to the tenant resource:

  • allow_legacy_delegation_grant_types
  • allow_legacy_ro_grant_types
  • allow_legacy_tokeninfo_endpoint
  • enable_legacy_profile
  • enable_idtoken_api2
  • no_disclose_enterprise_connections
  • disable_management_api_sms_obfuscation
  • enable_adfs_waad_email_verification
  • revoke_refresh_token_grant
  • dashboard_log_streams_next
  • dashboard_insights_view
  • disable_fields_map_fix

These were all the missing flags from the API docs plus an additional requested feature flag.

This is not meant to be an exhaustive list of feature flags; there are several other feature flags that have varying degrees of support depending on the tenants. It is inevitable that we'll continually need to update this list. However, this is meant to give an honest effort about updating the support.

References

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have read and agreed to the terms within the Auth0 Code of Conduct.
  • I have read the Auth0 General Contribution Guidelines.
  • I have reviewed my own code beforehand.
  • I have added documentation for new/changed functionality in this PR.
  • All active GitHub checks for tests, formatting, and security are passing.
  • The correct base branch is being used, if not main.

@willvedd willvedd requested a review from a team as a code owner June 29, 2022 18:55
@@ -198,6 +198,42 @@ type TenantFlags struct {
// If enabled, this will use the scope description when generating a consent
// prompt. Otherwise, the scope name is used.
UseScopeDescriptionsForConsent *bool `json:"use_scope_descriptions_for_consent,omitempty"`

// Whether the legacy delegation endpoint will be enabled for your account (true) or not available (false).
AllowLegacyDelegationGrantTypes *bool `json:"allow_legacy_delegation_grant_types,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not add any legacy enabling flags or dashboard flags, it's extremely unlikely they'll ever be used. Let's just keep:

  • EnableIDTokenAPI2
  • NoDisclosureEnterpriseConnections
  • DisableManagementAPISMSObfuscation
  • EnableADFSWAADEmailVerification
  • RevokeRefreshTokenGrant
  • DisableFieldsMapFix

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: Discussed this internally, we're gonna stay consistent with the auth0 docs.

@sergiught sergiught merged commit bd8b246 into main Jul 5, 2022
@sergiught sergiught deleted the update-tenant-flags branch July 5, 2022 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants