Skip to content

Commit

Permalink
Add deprecation notice to universal_login flag on the auth0_tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Feb 22, 2023
1 parent d80d752 commit d08041c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/resources/tenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Optional:
- `enable_public_signup_user_exists_error` (Boolean) Indicates whether the public sign up process shows a `user_exists` error if the user already exists.
- `no_disclose_enterprise_connections` (Boolean) Do not Publish Enterprise Connections Information with IdP domains on the lock configuration file.
- `revoke_refresh_token_grant` (Boolean) Delete underlying grant when a refresh token is revoked via the Authentication API.
- `universal_login` (Boolean) Indicates whether the tenant uses Universal Login.
- `universal_login` (Boolean, Deprecated) Indicates whether the New Universal Login Experience is enabled.
- `use_scope_descriptions_for_consent` (Boolean) Indicates whether to use scope descriptions for consent.


Expand Down
10 changes: 6 additions & 4 deletions internal/auth0/tenant/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,12 @@ func NewResource() *schema.Resource {
Description: "Indicates whether the tenant allows custom domains in emails.",
},
"universal_login": {
Type: schema.TypeBool,
Optional: true,
Computed: true,
Description: "Indicates whether the tenant uses Universal Login.",
Type: schema.TypeBool,
Optional: true,
Computed: true,
Deprecated: "This attribute is deprecated. Use the `universal_login_experience` attribute" +
" on the `auth0_prompt` resource to toggle the new or classic experience instead.",
Description: "Indicates whether the New Universal Login Experience is enabled.",
},
"enable_legacy_logs_search_v2": {
Type: schema.TypeBool,
Expand Down

0 comments on commit d08041c

Please sign in to comment.