Learning

Reply
Highlighted

Clearpass Guest log in automatically without clicking the log in button

 

I have recently getting a lot of request from our clients that they want that the user does not need to click the log in button when the sponsor authorize the user 

botnlogin.PNG

For example when you register, you sit in there waiting that the sponsor authorize you and you see the button on gray.

 

When the sponsor give you the aproval then the button activate and you can click it.

 

There is a way to make this automatically so the user does not need to do anything.   As soon as the sponsor aprove with this script, the clearpass will click that log in button for you automatically, this way the user does not need to do anything, he just log in automatically which is easier for the end user.

 

Now how do i do this??

 

Its really simple 

Go to the guest selft registration page

seftregister.PNGClick on receipt page and paste this script on the footer HTML

{if $user.enabled}
<script type="text/javascript"><!--{literal}
addLoadEvent(function() {
Nwa_SubmitForm(_form_name,"ID_"+_form_name+"_submit");
});
//-->
{/literal}</script>
{/if}

Like this

footer.PNGClick save change and you done.

 

What this script does is that when the account is enable he will run a another script that will basically click the log in button for you :)

 

Cheers

Carlos

 

----------------------------------------------------
Product Manager - Aruba Networks
Alternetworks Corp

Re: Clearpass Guest log in automatically without clicking the log in button

Excellent work!
Cheers
James

-------------------------------------------------------
-------------------@whereisjrw-------------------
------------------------blog-------------------------
ACCX #540 | ACMX #353 | ACDX #216
-----------Mobility First Expert #11----------
-------------------------------------------------------

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: