From eb3bc84461e0e1071ef330870934811d3827c61d Mon Sep 17 00:00:00 2001 From: Tyler Muir <33821158+tylergmuir@users.noreply.github.com> Date: Wed, 6 Dec 2023 12:08:54 -0800 Subject: [PATCH] remove unnecessary required flags for saml backend (#14666) Signed-off-by: Tyler Muir --- awx/sso/conf.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/awx/sso/conf.py b/awx/sso/conf.py index 3012930965..655640d9d7 100644 --- a/awx/sso/conf.py +++ b/awx/sso/conf.py @@ -1341,7 +1341,6 @@ register( 'SOCIAL_AUTH_SAML_SP_PUBLIC_CERT', field_class=fields.CharField, allow_blank=True, - required=True, validators=[validate_certificate], label=_('SAML Service Provider Public Certificate'), help_text=_('Create a keypair to use as a service provider (SP) and include the certificate content here.'), @@ -1353,7 +1352,6 @@ register( 'SOCIAL_AUTH_SAML_SP_PRIVATE_KEY', field_class=fields.CharField, allow_blank=True, - required=True, validators=[validate_private_key], label=_('SAML Service Provider Private Key'), help_text=_('Create a keypair to use as a service provider (SP) and include the private key content here.'), @@ -1365,7 +1363,6 @@ register( register( 'SOCIAL_AUTH_SAML_ORG_INFO', field_class=SAMLOrgInfoField, - required=True, label=_('SAML Service Provider Organization Info'), help_text=_('Provide the URL, display name, and the name of your app. Refer to the documentation for example syntax.'), category=_('SAML'), @@ -1379,7 +1376,6 @@ register( 'SOCIAL_AUTH_SAML_TECHNICAL_CONTACT', field_class=SAMLContactField, allow_blank=True, - required=True, label=_('SAML Service Provider Technical Contact'), help_text=_('Provide the name and email address of the technical contact for your service provider. Refer to the documentation for example syntax.'), category=_('SAML'), @@ -1391,7 +1387,6 @@ register( 'SOCIAL_AUTH_SAML_SUPPORT_CONTACT', field_class=SAMLContactField, allow_blank=True, - required=True, label=_('SAML Service Provider Support Contact'), help_text=_('Provide the name and email address of the support contact for your service provider. Refer to the documentation for example syntax.'), category=_('SAML'),