mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
add the ability to prevent SAML auto-population behavior
This commit is contained in:
@@ -919,6 +919,17 @@ def get_saml_entity_id():
|
||||
return settings.TOWER_URL_BASE
|
||||
|
||||
|
||||
register(
|
||||
'SAML_AUTO_CREATE_OBJECTS',
|
||||
field_class=fields.BooleanField,
|
||||
default=True,
|
||||
label=_('Automatically Create Organizations and Teams on SAML Login'),
|
||||
help_text=_('When enabled (the default), mapped Organizations and Teams '
|
||||
'will be created automatically on successful SAML login.'),
|
||||
category=_('SAML'),
|
||||
category_slug='saml',
|
||||
)
|
||||
|
||||
register(
|
||||
'SOCIAL_AUTH_SAML_CALLBACK_URL',
|
||||
field_class=fields.CharField,
|
||||
|
||||
Reference in New Issue
Block a user