mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
[AAP-48496] SAML Migration from Controller to Gateway (#6998)
This PR migrates the SAML configuration from the Controller to the Gateway, it intentionally skips setting the CALLBACK_URL so that the Gateway can fill in the appropriate URL.
This commit is contained in:
@@ -4,6 +4,7 @@ import os
|
||||
from django.core.management.base import BaseCommand
|
||||
from awx.sso.utils.github_migrator import GitHubMigrator
|
||||
from awx.sso.utils.oidc_migrator import OIDCMigrator
|
||||
from awx.sso.utils.saml_migrator import SAMLMigrator
|
||||
from awx.main.utils.gateway_client import GatewayClient, GatewayAPIError
|
||||
|
||||
|
||||
@@ -52,6 +53,7 @@ class Command(BaseCommand):
|
||||
if not skip_oidc:
|
||||
migrators.append(GitHubMigrator(gateway_client, self))
|
||||
migrators.append(OIDCMigrator(gateway_client, self))
|
||||
migrators.append(SAMLMigrator(gateway_client, self))
|
||||
# if not skip_ldap:
|
||||
# migrators.append(LDAPMigrator(gateway_client, self))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user