mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* 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.