Template for external CaptiveWebPortal Site

  • 1
  • Question
  • Updated 11 months ago
Hi folks!

Please I need help / assistance creating a Login page for authentication. I tried to create a Login page based on the small code snippet shown in this article: https://community.aerohive.com/aerohive/topics/captive-web-portal-with-external-authentication

In general it's working but on the one hand not really looking nice and and on the other hand I don't know what the hidden inputs are doing in detail.
 
Additional there is an issue after successfull login. When I'm using this login site everything is working well until the point the login was successfull. Then the smartphone does only release the internet connection if I configure a redirect to a webpage after successfull login in the HiveManager.

Now I've three questions and hope that somebody of you can help me.
1) Would someone provide me a nice looking login site?
2) Could anybody describe me what input fields are available and what they are doing?
3) Does anybode know something regarding the issue described above?

And than there is one low priority question:
Is there a possibility to use the UPA / success / failure site on the external login-server? Where can I get this sites? Could somebody provide them to me?

Thanks in advance.

Best regards,
Bernd

P.S.: I'm using HM connect
Photo of Bernd Heissenberger

Bernd Heissenberger

  • 19 Posts
  • 0 Reply Likes

Posted 11 months ago

  • 1
Photo of Sam Lynn

Sam Lynn, Moderator

  • 96 Posts
  • 12 Reply Likes
Hello Bernd,

If you are using our Captive Web Portal (CWP) log in page, you adjust how it looks by customizing the log in page and adjusting the background color, font color, links color, button fill color, button text color, and the logo. 

I'm not sure what you are referring to when you say the "hidden inputs". 

After the client logs in, if you don't have a success page the client will have to direct their device to a website. If you have a success page configured, they should be taken to that page directly after the log in. Are you saying that you have a success page configured, but that the client isn't getting directed there?

If you want to customize the log in page beyond what you are able to do with the default page, you can link the CWP to an external page. However, if you are using a third party CWP page, Aerohive can't support a third party page. 

The input fields vary depending on the type of CWP you are using. In HiveManager Connect you are limited to the UPA or the User Auth via CWP options. The inputs depend on which option you choose. Once you decide which kind you want, you can view the NG help guide to get details on what each field does- http://docs.aerohive.com/330000/docs/help/english/ng/Content/gui/configuration/configuring-captive-w...

You are not able to have a CWP that does both user auth and UPA as that combination isn't supported. If you want this set up, you would need to direct the clients to a third party website that does allow that combination. 

Hope this helps!
Photo of Bernd Heissenberger

Bernd Heissenberger

  • 19 Posts
  • 0 Reply Likes
Hi Sam,

I want to say thank you for your reply also in this case. ;-) It's a pleasure.

The first thing is that I'm not able to create a login page in HM connect. I only can enable UPA or User Auth. But when I choose User Auth I'm only able to redirect to an external URL. See this:


You're right, if I'm choosing the UPA option I'm able to customize everything but that's not possible with User Auth. What I'm able to customize is the success and the error page. See this:

So therefore I have to use an external login page as you can see in the first screenshot. I've set up a webserver in my infrustructure for this where it's working. But for this reason I need a login page and for this matter I asked for a template or so. I really would prefer using an User Auth page from Aerohive but as you can see it's not possible for me in connect. Hope this is a little bit clearer now.

Regarding the "hidden input". I've refered to the link in my first post. There you can see a screenshot of a html code snippet. There you have a code like
<input type="hidden" ...
And I don't know what this all is doing, therefore I've asked for explaination. Hope this is also clearer now.

Best regards,
Bernd
Photo of Sam Lynn

Sam Lynn, Moderator

  • 96 Posts
  • 12 Reply Likes
Hello,

Sorry for the delay getting back to you, I was confirming that we do not have any templates for the User Auth CWP option. Since that is external, that option is for people that already have a login page on their network, but want to point their wireless clients to this page instead of using our devices for authentication.

Essentially, this option is for people who have external Radius servers that they want to link to. If you don't already have a Radius server, but want the same functionality as the User Auth CWP, you would need to set up a Radius server on the APs (which can only be done if you upgrade to Select NG, Connect NG only allows the use of external Radius servers). 

Hope this helps!
Photo of Bernd Heissenberger

Bernd Heissenberger

  • 19 Posts
  • 0 Reply Likes
Hi Sam,

no problem. I'm also that busy at the moment that it takes time to get back to you too.
Thanks for answering again.  OK, I understand this and it's the answer I've expected and feared.

Last question to this post. I understand that there are no templates for a login page but are there any guidelines how to create one?

Best regards,
Bernd
Photo of Sam Lynn

Sam Lynn, Moderator

  • 96 Posts
  • 12 Reply Likes
Hi Bernd,

We have a helpfile that will explain the options within the Captive Web Portal and what they do. You can find that page at this link- http://docs.aerohive.com/330000/docs/help/english/ng/Content/gui/configuration/configuring-captive-w...

Hope this helps!
Photo of Bernd Heissenberger

Bernd Heissenberger

  • 19 Posts
  • 0 Reply Likes
Sam,

I'm sorry but that doesn't help me, ... but does not matter. As soon as I have an answer to this myself I will post it here for other users.

But there is another open question in this post. => please could you have a look to my original post once again!? => it's about the redirect after successfull login.

Thanks in advance & best regards,
Bernd

P.S.: Please forgive me the circumstances.