[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:
Madhu Kanoor
2025-07-10 09:57:00 -04:00
committed by thedoubl3j
parent c2c0f2b828
commit 512857c2a9
4 changed files with 155 additions and 21 deletions

View File

@@ -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))