mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 11:10:03 -03:30
Enable service redirect auth and reverse-sync from DAB (#15489)
* Update settings from DAB features * Move to the end of the list more correctly
This commit is contained in:
@@ -524,7 +524,11 @@ _SOCIAL_AUTH_PIPELINE_BASE = (
|
|||||||
'social_core.pipeline.user.user_details',
|
'social_core.pipeline.user.user_details',
|
||||||
'awx.sso.social_base_pipeline.prevent_inactive_login',
|
'awx.sso.social_base_pipeline.prevent_inactive_login',
|
||||||
)
|
)
|
||||||
SOCIAL_AUTH_PIPELINE = _SOCIAL_AUTH_PIPELINE_BASE + ('awx.sso.social_pipeline.update_user_orgs', 'awx.sso.social_pipeline.update_user_teams')
|
SOCIAL_AUTH_PIPELINE = _SOCIAL_AUTH_PIPELINE_BASE + (
|
||||||
|
'awx.sso.social_pipeline.update_user_orgs',
|
||||||
|
'awx.sso.social_pipeline.update_user_teams',
|
||||||
|
'ansible_base.resource_registry.utils.service_backed_sso_pipeline.redirect_to_resource_server',
|
||||||
|
)
|
||||||
SOCIAL_AUTH_SAML_PIPELINE = _SOCIAL_AUTH_PIPELINE_BASE + ('awx.sso.saml_pipeline.populate_user', 'awx.sso.saml_pipeline.update_user_flags')
|
SOCIAL_AUTH_SAML_PIPELINE = _SOCIAL_AUTH_PIPELINE_BASE + ('awx.sso.saml_pipeline.populate_user', 'awx.sso.saml_pipeline.update_user_flags')
|
||||||
SAML_AUTO_CREATE_OBJECTS = True
|
SAML_AUTO_CREATE_OBJECTS = True
|
||||||
|
|
||||||
@@ -1165,6 +1169,9 @@ OPTIONAL_UI_URL_PREFIX = ''
|
|||||||
# Use AWX base view, to give 401 on unauthenticated requests
|
# Use AWX base view, to give 401 on unauthenticated requests
|
||||||
ANSIBLE_BASE_CUSTOM_VIEW_PARENT = 'awx.api.generics.APIView'
|
ANSIBLE_BASE_CUSTOM_VIEW_PARENT = 'awx.api.generics.APIView'
|
||||||
|
|
||||||
|
# If we have a resource server defined, apply local changes to that server
|
||||||
|
RESOURCE_SERVER_SYNC_ENABLED = True
|
||||||
|
|
||||||
# Settings for the ansible_base RBAC system
|
# Settings for the ansible_base RBAC system
|
||||||
|
|
||||||
# This has been moved to data migration code
|
# This has been moved to data migration code
|
||||||
|
|||||||
Reference in New Issue
Block a user