Clean project: remove test files, debug logs, and add documentation

This commit is contained in:
dahoud
2025-10-05 13:41:33 +00:00
parent 96a17eadbd
commit 291847924c
438 changed files with 65754 additions and 32713 deletions

View File

@@ -26,7 +26,7 @@ for username in "${!accounts[@]}"; do
echo -n "Test $username... "
response=$(curl -s -X POST \
"http://192.168.1.145:8180/realms/unionflow/protocol/openid-connect/token" \
"http://192.168.1.11:8180/realms/unionflow/protocol/openid-connect/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "username=${username}&password=${password}&grant_type=password&client_id=unionflow-mobile")
@@ -39,7 +39,7 @@ for username in "${!accounts[@]}"; do
# Obtenir les infos utilisateur
user_info=$(curl -s -X GET \
"http://192.168.1.145:8180/realms/unionflow/protocol/openid-connect/userinfo" \
"http://192.168.1.11:8180/realms/unionflow/protocol/openid-connect/userinfo" \
-H "Authorization: Bearer ${access_token}")
if echo "$user_info" | grep -q "email"; then