11-06-2018 10:00 AM
Hi All,
I have been attempting to setup the guest portal in ISE to bypass the login page initially and go first to the self-registration page. I used the script in this link here:
Under the Use Case 3 script 2 which works perfect for the Default Self-Registered Guest Portal in ISE however when I create a new Self-Registered Guest Portal and configure it the same way I had the default portal as the script no longer works. I do not know scripting so I was hoping someone might be able to shed some light as to why that script doesn't work with the new portal I created even though the config is the same as the default portal and how I may be able to get this to work with the new portal.
Thank you in advance,
Ryan
Solved! Go to Solution.
11-06-2018 10:54 AM
11-06-2018 10:54 AM
11-06-2018 10:58 AM
Originally I did not but just tried that and yes that works. Any reason why it wouldn't work when you just create a new one?
11-06-2018 11:09 AM
11-06-2018 01:56 PM
When I used the following script on ISE 2.2 to bypass the initial Login page it worked:
<script>
$(document).on('pageshow', function() {
if
(!(/selfregistrationcancel|selfregistrationsuccess|SELF_REGISTRATION/i).test(document.location.href)) {
$('#ui_login_self_reg_button').click();
}
});
</script>
But when I used the same script on ISE 2.3 patch 5, it gave the following error:
[ 400 ] Bad Request
The request is invalid due to malformed syntax or invalid data
Any idea?
11-06-2018 02:47 PM
11-06-2018 03:05 PM
The error showed on the guest captive portal. I could see the initial Login page showing up first and quickly going to the page that showed the "[ 400 ] Bad Request" error. It seems that the initial Login page was bypassed but went into error.
11-14-2018 09:45 AM
Jason,
Thank you for the response earlier on this and while I was testing this in the lab it did work when I applied it to the Default Guest Portal and also when I duplicated it. But for some reason it would not work when I created a new Guest Portal and applied it. I now have a customer that has told me they no longer have the default guest portal and the 3 or 4 portals they created from using the new option none of them are working with the script. Any ideas on a way we could get this to work or is this a potential TAC case. Thank you again for you input.
Thanks,
Ryan
11-14-2018 09:48 AM
11-27-2018 08:37 AM
Hi Jason,
I went ahead and got a TAC case opened up about 2 weeks ago when you recommended it but they seem to be struggling on where to go with it since it involves scripting. Do you know of anything I can pass onto to them to help guide them in the right direction?
Thanks,
Ryan
11-27-2018 09:23 AM
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