04-30-2018 08:47 AM - edited 03-20-2019 10:06 PM
Anyone else run into this bug impact Android devices and Chrome/Firefox users when accessing custom web authentication enabled SSID users causing them not to be able to redirect to external web site?
From the early bug write up only 9 related cases, just looking for any workarounds or alternatives. Should know later today if our administration will approve disabling custom web authentication until issue is resolved.
Solved! Go to Solution.
05-02-2018 10:37 AM - edited 05-02-2018 10:39 AM
Workaround: Verify that your login.html has the onload="loadAction();" present in your body tag. Whatever is there already can stay, just add the onload like below.
<body onload="loadAction();>
05-02-2018 10:37 AM - edited 05-02-2018 10:39 AM
Workaround: Verify that your login.html has the onload="loadAction();" present in your body tag. Whatever is there already can stay, just add the onload like below.
<body onload="loadAction();>
05-28-2018 06:07 AM
Hi there,
I had the same problem with a virtual WLC. First with the version 8.3.102.0, then i made an update to 8.5.120.0 but with no success.
The authentication with Chrome or FF (on Android Devices or PC) wasn't possible. IOS device were able to autheticate properly. The solution for my Problem was following line in the <script> area of the html File;
document.forms[0].action = args.switch_url;
this code is stored in the loadAction function and was commented out, when i first got the bundle from cisco.
the whole function looks like this:
function loadAction(){ var url = window.location.href; var args = new Object(); var query = location.search.substring(1); var pairs = query.split("&"); for(var i=0;i<pairs.length;i++){ var pos = pairs[i].indexOf('='); if(pos == -1) continue; var argname = pairs[i].substring(0,pos); var value = pairs[i].substring(pos+1); args[argname] = unescape(value); } //alert( "AP MAC Address is " + args.ap_mac); //alert( "The Switch URL to post user credentials is " + args.switch_url); document.forms[0].action = args.switch_url; // This is the status code returned from webauth login action // Any value of status code from 1 to 5 is error condition and user // should be shown error as below or modify the message as it suits // the customer if(args.statusCode == 1){ alert("You are already logged in. No further action is required on your part."); } else if(args.statusCode == 2){ alert("You are not configured to authenticate against web portal. No further action is required on your part."); } else if(args.statusCode == 3){ alert("The username specified cannot be used at this time. Perhaps the username is already logged into the system?"); } else if(args.statusCode == 4){ alert("The User has been excluded. Please contact the administrator."); } else if(args.statusCode == 5){ alert("Username or password is wrong. Please try again."); } }
Hope this helps anyone, if you're suffering of the same problem
09-05-2018 02:44 PM
10-29-2018 01:40 AM
No, i did not delete this line. It was commented out. As i removed the comment (added the line to the code) everything worked for me.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide