mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 18:37:39 -02:30
Merge pull request #2387 from wenottingham/certificates-for-everyone
Require certpair for SAML.
This commit is contained in:
@@ -977,7 +977,7 @@ 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,
|
||||||
default='',
|
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 for Tower to use as a service provider (SP) '
|
help_text=_('Create a keypair for Tower to use as a service provider (SP) '
|
||||||
@@ -991,7 +991,7 @@ 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,
|
||||||
default='',
|
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 for Tower to use as a service provider (SP) '
|
help_text=_('Create a keypair for Tower to use as a service provider (SP) '
|
||||||
|
|||||||
Reference in New Issue
Block a user