Captive Portal APIs clickthrough

tjh188
Here to help

Captive Portal APIs clickthrough

I was looking at this site that talks about utilizing the captive portal API. We’re wondering if there is a way to configure the Splash page to pass the node_mac or any of the other parameters along with the continue_url when they accept the terms and conditions and continue to the internet.

 

We want to redirect clients connecting to the "Nashville" AP to say, WELCOME TO NASHVILLE!  Then redirect the "Dallas" AP to say WELCOME TO DALLAS!.  Do all of that based on the MAC address. 

 

Need more direction on how to accomplish this.

 

https://developer.cisco.com/meraki/captive-portal-api/#!click-through-api/logic-flow

 

3 Replies 3
alemabrahao
Kind of a big deal
Kind of a big deal

I think it's not possible on Meraki by default, maybe if you use a custom page, but I'm not sure. My suggestion is to open a support case.

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
alemabrahao
Kind of a big deal
Kind of a big deal

as I suspect just with a custom page. Look at this code example.

 

https://developer.cisco.com/meraki/build/captive-portal-with-client-side-javascript/

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
sungod
Kind of a big deal

Haven't tried this, but looking at the documentation...

 

You get the node_mac in the initial request sent to your splash server.

 

When you craft your continue_url, can't you do it based on the node_mac?

 

You can optionally add a continue_url and a duration query to tailor the login process. To send the client onto their intended site, copy the user_continue_url value into the continue_url parameter.

 

I.e. instead of using the default user_continue_url value, choose the continue_url you want based on node_mac, for instance you could use the same host/path and just add the node_mac value on the end of the URL as a parameter.

Get notified when there are additional replies to this discussion.