fix: jwt error return status 400 for invalid role (#4081)

This commit is contained in:
Taimoor Zaeem
2025-05-14 21:44:22 +02:00
committed by Wolfgang Walther
parent 7269630538
commit e0e60fa433
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ jwtaudroleclaims:
- key: '.aud[1]' # succeeds the aud claims check, but fail when hits the db
data:
aud: [postgrest_test_author, postgrest_test_invalid]
expected_status: 400
expected_status: 401
invalidroleclaimkeys:
- 'role.other'