diff --git a/scripts/setup-authentik.sh b/scripts/setup-authentik.sh index ab3aad9..903da63 100755 --- a/scripts/setup-authentik.sh +++ b/scripts/setup-authentik.sh @@ -132,7 +132,9 @@ import_blueprint() { "path": "'"$blueprint_path"'", "context": {}, "enabled": true - }' 2>/dev/null || echo "") + }') + + echo "DEBUG: Blueprint creation response: $blueprint_response" local blueprint_pk blueprint_pk=$(echo "$blueprint_response" | python3 -c "import sys, json; print(json.load(sys.stdin).get('pk', ''))" 2>/dev/null || echo "")