05-20-2016 11:40 AM - edited 05-30-2019 10:53 AM
Since we don't have the concept of a hotspot portal with info collection (we require an account to be created to capture information in the reports). The purpose of this document is to explain how to set up a self-registration portal and flow that is masked to look like a Hotspot Portal with information collection. A customer doesn't want a user to deal with creating credentials and remembering them but still wants to get their information.
This info will show up in the logs and reports as its a regular account. The user doesn't know about this and they are not notified as they won't use it
The process is to make a self-registration portal capture some info and create account but hide username/password. So its like a hotspot. The endpoint is registered and authorization is based off guest endpoint group. The device could have access for a minimum of a day with basic configuration. If you wanted only a couple hours then there are other examples on how to do that as well.
This should work on ISE 1.3+
Administration > Identity Management > Groups
Guest Access > Configure > Guest Types >
Check out this NEW SCRIPT - 5/30/19
--------------
It auto clicks and goes on to SelfRegistration.action?from=LOGIN (second last line).
However, for some reason, the portal test URL is loaded again (last line), and loads as a blank page, since the page CSS is set to display:None.
This was reproducible on 2.3, 2.3p5, 2.3p6 and 2.4p6.
It is only reproducible on Google Chrome and seems to work fine in Firefox on all releases.
After playing around with JQuery a bit, I was able to find something that works on Chrome reliably:
NEW SCRIPT - 5/30/19
----------
<script> jQuery('#page-login').css('display','none'); $(document).ready(setTimeout(function(){ $('#ui_login_self_reg_button').trigger('click'); },100)); </script>
ORIGINAL
---------
<script> jQuery(function(){ jQuery('#page-login').css('display','none'); jQuery('#ui_login_self_reg_button').click(); return; }); </script>
<script> jQuery('#page-self-registration-results').hide(); jQuery('#ui_self_reg_results_submit_button').trigger('click'); </script>
Hi,
I came across this thread as we have a similar requirement to bypass login page and have the guests land directly on the Self-Reg form. Our ISE version is 3.1 and I've created new Self-reg portal and pasting the script in optional content 2 of the login page. However its not changing the portal at all.
I'm wondering if the scripts are compatible with ISE v3.x or if there is some other issue.
Can someone please assist with with important the scripts in our ISE portal.
Sajid
Hi @Jason Kunst , First of all thanks for sharing great article, I used both the scripts which automatically redirected to register page and hide the credencials, sign on automatically, Everything worked well, however some devices are not honoring the scripts, please let me know if you have any thoughts.
@JEGA - sadly, Jason Kunst no longer works at Cisco. I would suggest posting a new question in the NAC Community group and just mention this post as a reference.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: