Files
floci/docs
TATSUNO “Taz” Yasuhiro 4f4db89d8f fix(apigateway): refuse a long-term access key sent with a session token (#5875)
* fix(apigateway): refuse a long-term access key sent with a session token

AWS answers 403 "The security token included in the request is invalid"
when a long-term key comes with X-Amz-Security-Token, signed or not. The
same message without the period answers a temporary key with a wrong token.

The session token check moves to core.common.auth, and Lambda Web IamAuth
uses it too.

Closes #5858

* fix(apigateway): read the session token where the signature is and refuse an empty one

AWS ignores a token in the query of a header-signed request and a token
header on a presigned one. It refuses an empty token with any key.
2026-10-17 09:30:35 -04:00
..
2026-03-15 17:43:56 -05:00