diff --git a/.gitea/workflows/infisical-secrets.yml b/.gitea/workflows/infisical-secrets.yml index 8177271..bd82a84 100644 --- a/.gitea/workflows/infisical-secrets.yml +++ b/.gitea/workflows/infisical-secrets.yml @@ -20,6 +20,16 @@ jobs: echo "Public IP found: $PUBLIC_IP" echo "$PUBLIC_IP infisical.lemarechal.eu" | sudo tee -a /etc/hosts + - name: Debug Authentication (curl) + env: + CLIENT_ID: ${{ secrets.INFISICAL_CLIENT_ID }} + CLIENT_SECRET: ${{ secrets.INFISICAL_CLIENT_SECRET }} + run: | + echo "Testing authentication endpoint..." + curl -v -X POST https://infisical.lemarechal.eu/api/v1/auth/universal-auth/login \ + -H "Content-Type: application/json" \ + -d "{\"clientId\": \"$CLIENT_ID\", \"clientSecret\": \"$CLIENT_SECRET\"}" + - name: Fetch Secrets from Infisical uses: https://github.com/Infisical/secrets-action@v1.0.7 with: