Files
floci/docs
TATSUNO “Taz” Yasuhiro 0dd443478c fix(appsync): answer a failed AWS_IAM request with AppSync's errors (#5901)
* fix(appsync): answer a bad AWS_IAM signature with AppSync's error and wording

AppSync answers 403 IncompleteSignatureException when the Authorization
header misses a part or the date, and 400 BadRequestException when the
signing time, the signed headers, the scope or the signature are wrong.
The checks run in AppSync's order, and the signature is checked before
the session token.

* fix(appsync): answer an AWS_IAM policy deny with Permission denied

AppSync answers 401 UnauthorizedException "Permission denied" when the
caller's policies do not allow appsync:GraphQL.

* fix(appsync): check a missing signed header and the credential parts in AppSync's order

AppSync checks that every signed header is in the request after the
signing time, then that host is signed, then the credential parts. It
names the header as the request signed it.

* test(appsync): expect BadRequestException for a wrong secret on the GraphQL endpoint

* test(appsync): pin the clock to check the whole signing time message

* chore(appsync): read the Authorization parts with the shared parser
2026-10-18 00:30:48 -04:00
..
2026-03-15 17:43:56 -05:00