cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1072
Views
0
Helpful
3
Replies

WLC8500 API based login

MKS104
Community Member

We are trying API based login using app in WLC8500 but facing issue i.e. if the user doesn't triggers webauth session the login process doesn't flows due to error. The process only flows when captive portal at user end triggers. The whole point of using app is that captive portal doesn't triggers and user experience is better. Can someone suggest what we may be doing wrong and how we can rectify this?

 

cheers 

3 Replies 3

Rich R
VIP
VIP
You don't mention what OS you're trying to write the app on - each is slightly different. This isn't actually a wireless question - it's a software development question. But I'll try to answer it anyway... The app needs to trigger when the device joins the SSID which you're interested in and then it needs to attempt a connection to trigger the captive portal redirect (at API/app level not user interaction) at which point it can then post the login credentials to the WLC and the user should be logged in. Make sense?
------------------------------
Please click Helpful if this post helped you and Accept as Solution if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's   and   TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's,   Best Practices for 9800 WLC's   and   Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
Field Notice: FN74383 APs Running 17.12.4/5/6/6a May Run Out of Flash Space Preventing Upgrades
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390

MKS104
Community Member

rrudling, 

 

Thanks for your reply. The OS we are trying on is Android. 

I understand that this is more related to Software Development rather than wireless. When you say API/app level captive portal redirect what do you mean by it, have you ever done this?

We have an app that does that but I am not a developer so don't know the precise details - just how it operates at high level. On Android the app must 'claim/register' the SSID(s) with the OS API and is then notified when device joins a registered SSID. App then initiates an http connection to internet which is redirected by the captive portal. App can read the content and/or headers of that response for different types of hotspots. When it recognises the redirect from WLC it posts the login to WLC same as a client would from a web page. All this happens 'under the hood' no user interaction required. We've also recently found on latest releases of Android this doesn't work if app doesn't have location permission (presumably because SSID can be used to help with location).
------------------------------
Please click Helpful if this post helped you and Accept as Solution if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's   and   TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's,   Best Practices for 9800 WLC's   and   Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
Field Notice: FN74383 APs Running 17.12.4/5/6/6a May Run Out of Flash Space Preventing Upgrades
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
Review Cisco Networking for a $25 gift card