mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
remove unnecessary required flags for saml backend (#14666)
Signed-off-by: Tyler Muir <tylergmuir@gmail.com>
This commit is contained in:
@@ -1341,7 +1341,6 @@ register(
|
|||||||
'SOCIAL_AUTH_SAML_SP_PUBLIC_CERT',
|
'SOCIAL_AUTH_SAML_SP_PUBLIC_CERT',
|
||||||
field_class=fields.CharField,
|
field_class=fields.CharField,
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
required=True,
|
|
||||||
validators=[validate_certificate],
|
validators=[validate_certificate],
|
||||||
label=_('SAML Service Provider Public 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.'),
|
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',
|
'SOCIAL_AUTH_SAML_SP_PRIVATE_KEY',
|
||||||
field_class=fields.CharField,
|
field_class=fields.CharField,
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
required=True,
|
|
||||||
validators=[validate_private_key],
|
validators=[validate_private_key],
|
||||||
label=_('SAML Service Provider 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.'),
|
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(
|
register(
|
||||||
'SOCIAL_AUTH_SAML_ORG_INFO',
|
'SOCIAL_AUTH_SAML_ORG_INFO',
|
||||||
field_class=SAMLOrgInfoField,
|
field_class=SAMLOrgInfoField,
|
||||||
required=True,
|
|
||||||
label=_('SAML Service Provider Organization Info'),
|
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.'),
|
help_text=_('Provide the URL, display name, and the name of your app. Refer to the documentation for example syntax.'),
|
||||||
category=_('SAML'),
|
category=_('SAML'),
|
||||||
@@ -1379,7 +1376,6 @@ register(
|
|||||||
'SOCIAL_AUTH_SAML_TECHNICAL_CONTACT',
|
'SOCIAL_AUTH_SAML_TECHNICAL_CONTACT',
|
||||||
field_class=SAMLContactField,
|
field_class=SAMLContactField,
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
required=True,
|
|
||||||
label=_('SAML Service Provider Technical Contact'),
|
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.'),
|
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'),
|
category=_('SAML'),
|
||||||
@@ -1391,7 +1387,6 @@ register(
|
|||||||
'SOCIAL_AUTH_SAML_SUPPORT_CONTACT',
|
'SOCIAL_AUTH_SAML_SUPPORT_CONTACT',
|
||||||
field_class=SAMLContactField,
|
field_class=SAMLContactField,
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
required=True,
|
|
||||||
label=_('SAML Service Provider Support Contact'),
|
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.'),
|
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'),
|
category=_('SAML'),
|
||||||
|
|||||||
Reference in New Issue
Block a user