I came up with this to use an external splash page:
1) Make sure to add the host where you're going to host your page to Allowed Hostnames
2) Use this code to redirect and pass the variables, (I only passed a few here that I needed, you can add more using the same method) the only downside is that if a user has JavaScript disabled in their browser they will have to click a button to load the page...
Make you you replace "
http://www.myserver.com/splashpage.php" with the URL you want to redirect to.
<script>
document.write('<style>.noscript { display:none }</style>');
</script>
<form action="http://www.myserver.com/splashpage.php" method="post" id="redirectform">
<input type="hidden" name="client_mac" value="$CLIENT_MAC$">
<input type="hidden" name="client_ip" value="$CLIENT_IP$">
<input name="action" type="hidden" value="$PORTAL_ACTION$">
<input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
<span class="noscript">Javascript is disabled, click to
<input name="submitx" type="submit" value="Continue" />
</span>
</form>
<script type="text/javascript">
function doredirect () {
var frm = document.getElementById("redirectform");
frm.submit();
}
window.onload = doredirect;
</script>
3) You'll then be able to pull on the variables from $_POST on your new page.
Example code for your external page:
<form method="post" action="<?php echo $_POST['action']; ?>">
<input name="auth_user" type="text">
<input name="auth_pass" type="password">
<input name="redirurl" type="hidden" value="<?php echo $_POST['redirurl']; ?>">
<input name="accept" type="submit" value="Log In">
</form>