The signing function used for authenticating the secure lambda function urls adds an authorization header. In the current implementation, this will override any authorization header forwarded from CloudFront behaviors.
A potential solution to this would be mapping the existing authorization header to a new header before overwriting it with the AWS authorization header. This would allow clients to still use an authorization header in requests, while the nextjs function could read from the re-mapped header value.
The signing function used for authenticating the secure lambda function urls adds an authorization header. In the current implementation, this will override any authorization header forwarded from CloudFront behaviors.
A potential solution to this would be mapping the existing authorization header to a new header before overwriting it with the AWS authorization header. This would allow clients to still use an authorization header in requests, while the nextjs function could read from the re-mapped header value.