feat: Closes #355. Added support for presigned URLs, particularly v4 authentication with query params

This commit is contained in:
jonaustin09
2024-02-07 09:17:35 -05:00
parent e6440da30a
commit be17b3fd33
5 changed files with 338 additions and 24 deletions

View File

@@ -56,6 +56,7 @@ func New(app *fiber.App, be backend.Backend, root middlewares.RootUserConfig, po
app.Use(middlewares.RequestLogger(server.debug))
// Authentication middlewares
app.Use(middlewares.VerifyPresignedV4Signature(root, iam, l, region, server.debug))
app.Use(middlewares.VerifyV4Signature(root, iam, l, region, server.debug))
app.Use(middlewares.ProcessChunkedBody(root, iam, l, region))
app.Use(middlewares.VerifyMD5Body(l))