indigo-iam / wlcg-jwt-compliance-tests

Prototype WLCG TPC testsuite using JWT authN/Z
1 stars 11 forks source link

Make default tests less strict #12

Closed andreaceccanti closed 2 years ago

andreaceccanti commented 2 years ago

Some tests could be less pendatic:

giacomini commented 2 years ago

According to the RFC, deleting a file can return 200, 202 or 204. We can accept exactly those three. Looking at the current failures, we can relax the success criteria of audience tests with invalid audience, accepting exactly 401, 403 and 404. In strict mode only 401 is considered success.