I have setup an external hotspot login page and everything works nicely until I send login information back to mikrotik.
After the login information is sent back I keep getting redirected back to the login page. Only way to 're-authenticate' agianst radius - is to release and renew IP address on client.
I have tried two methods of sending login username and password back to the mikrotik after the account has been added via the external login page.
Method 1: post
(I hard coded the mac for testing)
<html>
<title>Hotspot login page</title>
<body>
<form name="login" action="http://host/login" method="post">
<input type="text" name="username" value="xx:xx:xx:xx:xx:xx">
<input type="password" name="password" value="">
<input type="submit" name="login" value="log in">
</form>
</body>
</html>
Method 2: url redirect
After account is added redirect back to mikrotik specifying username and password.
http://host/login?user=xx:xx:xx:xx:xx:xx&password=
When looking at radius debug logs on mikrotik, I dont see any request generated when using either method.
Any help and direction is appreciated.
Thanks,
-dan