- 6 docs racine (README, HANDOVER, ARCHITECTURE, DECISIONS, INSTALL, OPERATIONS) - 9 docs thématiques dans docs/ - 10 templates docker-compose dans configs/ - 7 scripts Python/Shell d'import Furious vers Zitadel - 2 matrices RBAC Etat infra au 5 juin 2026 : - 88 users Furious importes dans Zitadel - 8 roles RBAC crees et attribues - Intranet filtre les cartes selon role (Approche A) - 7 outils SSO operationnels
28 lines
764 B
Bash
Executable File
28 lines
764 B
Bash
Executable File
#!/bin/bash
|
|
# ============================================================================
|
|
# test-auth.sh — Teste l'authentification à l'API Furious.
|
|
# ============================================================================
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
source "$SCRIPT_DIR/.env"
|
|
|
|
echo "🔍 Test auth Furious..."
|
|
echo "URL : $FURIOUS_API_URL"
|
|
echo "User : $FURIOUS_USERNAME"
|
|
echo ""
|
|
|
|
# Test simple : lecture d'un user (id=1)
|
|
curl -s -u "$FURIOUS_USERNAME:$FURIOUS_PASSWORD" \
|
|
-X POST "$FURIOUS_API_URL" \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"User": {
|
|
"Search": {
|
|
"fields": ["id", "first_name"],
|
|
"limit": 1
|
|
}
|
|
}
|
|
}' | python3 -m json.tool
|