Recently had to rube goldberg my HTML form POST&#x27;s to work with API Gateway because of this issue: <a href="https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?threadID=205782" rel="nofollow">https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?threadID=205782</a>. Work around I came up with was a ridiculous redirect chain utilizing JWT. This is much prettier though.<p>If anyone is interested, it seems like you can probably get away with ~20 temporary redirects before your browser starts complaining about redirect loops.