Refactoring

This commit is contained in:
DahoudG
2025-09-19 16:09:21 +00:00
parent 4ac376b7e7
commit 3f2398a55d
44 changed files with 7400 additions and 0 deletions

17
test-auth.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
echo "Test d'authentification admin..."
response=$(curl -s -X POST \
"http://localhost:8180/realms/master/protocol/openid-connect/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "username=admin&password=admin123&grant_type=password&client_id=admin-cli")
echo "Réponse complète:"
echo "$response"
if echo "$response" | grep -q "access_token"; then
echo "✅ Authentification réussie"
else
echo "❌ Échec de l'authentification"
fi