Maxmind R2 vooraf ondertekende URL's

I just know that changing the code to allow redirects makes it work.