This commit is contained in:
@@ -26,9 +26,11 @@ jobs:
|
||||
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 \
|
||||
# Use -s to be silent and -S to show errors, then pipe to cat to see the body
|
||||
RESPONSE=$(curl -s -S -X POST https://infisical.lemarechal.eu/api/v1/auth/universal-auth/login \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"clientId\": \"$CLIENT_ID\", \"clientSecret\": \"$CLIENT_SECRET\"}"
|
||||
-d "{\"clientId\": \"$CLIENT_ID\", \"clientSecret\": \"$CLIENT_SECRET\"}")
|
||||
echo "API Response: $RESPONSE"
|
||||
|
||||
- name: Fetch Secrets from Infisical
|
||||
uses: https://github.com/Infisical/secrets-action@v1.0.7
|
||||
|
||||
Reference in New Issue
Block a user