S2 Remote Auth integration

I’m trying to get S2member to work with remote authorization and I’m stumped. I have set download restrictions to unlimited per year and followed the instructions on the main page.

And the file works if you’re logged directly into the site as a member. In that situation, you can download the file via direct link that looks like this…
"https://www.thebritishhistorypodcast.com/?s2member_file_download=m145.mp3

But the trouble is that when I try to turn on remote auth (and I’m logged out) I end up in a loop where it refuses to accept any valid username/password, and doesn’t even say that it was a bad password. It just loops, until I leave that page, login to the site, and come back to it. At which point, the download starts immediately. So, for example, it looks with this link until I am logged in on the webpage directly.
https://www.thebritishhistorypodcast.com/?s2member_file_remote=yes&s2member_file_inline=yes=&s2member_file_download=m145.mp3

I get the same problem if I just put &s2member_file_remote=yes at the end of the file.

I’m sure I’m missing something simple. Does anyone have any ideas?

AH HA! Ok, so it was an issue with the headers getting eaten. The work around my dev came up with was to use this mod…

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Which host are you on, Jamie?

I ask because the answer by Etienne Marais here suggests that your site’s configuration is non-standard (which is, presumably, why s2Member did not work out of the box for this purpose).

I’m one of those poor souls who foolishly got on godaddy years ago, and now it’s just too much trouble to leave. So it very well might be the issue.

Ah, I see! Commiserations!

Most decent hosts will be only too happy to move your sites to their network for you, and I think you’d be pleased with the improvements, but I understand why you might not want the hassle.