From e34f7164d80cb035d2a5a2fda2169c742775d57f Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Fri, 6 Sep 2024 07:02:14 -0700 Subject: [PATCH] investigate create inboundssoprofile --- .github/workflows/build.yml | 2 +- src/gam/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81036f35..834b6460 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -849,7 +849,7 @@ jobs: $gam user $gam_user update shareddrive "${driveid}" ou "aaaGithub Actions" # so we can delete our OU... $gam user $gam_user delete shareddrive "${driveid}" nukefromorbit echo "printer model count:" - ssoprofile=$($gam create inboundssoprofile name "El Goog ${newbase}" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog return_name_only) + ssoprofile=$($gam config debug_level 1 create inboundssoprofile name "El Goog ${newbase}" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog return_name_only) if [ ${ssoprofile} != 'inProgress' ]; then $gam create inboundssocredential profile "id:${ssoprofile}" generate_key #$gam create inboundssoassignment profile "id:${ssoprofile}" orgunit "${newou}" mode SAML_SSO diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 00a3d33e..5bd771fe 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -44566,6 +44566,8 @@ def _showInboundSSOProfile(profile, FJQC, i=0, count=0): Ind.Decrement() def _processInboundSSOProfileResult(result, returnNameOnly, kvlist, function): + if GC.Values[GC.DEBUG_LEVEL] > 0: + writeStderr(f'inboundSSOProfileResult: {result}\n') if result.get('done', False): if 'error' not in result: if 'response' in result: