Enables OAuth-driven Google and/or Facebook authentication on captive portals that use internal Web pages.
If enabling OAuth-driven Google and/or Facebook authentication on the captive portal, use this command to configure the Google/Facebook client-ids. Once enabled, the captive portal landing page, displayed on the client‘s browser, provides the Facebook and Google login buttons.
oauth
oauth client-id [facebook|google] <WORD>
oauth
oauth | Execute this command without the associated keywords to enable OAuth on this captive-portal. If enabling OAuth, ensure the captive-portal Web page location is configured as advanced or external. |
oauth client-id [facebook|google] <WORD>
oauth client-id [facebook|google] <WORD> | Configures the client-ids retrieved from the Google and
Facebook API manager portals during registration
If the captive-portal Web page location is advanced or external, and you are enabling OAuth support, you need not configure the client-id. In such a scenario, the client-id is configured through the EGuest server UI and not the WiNG CLI. |
nx7500-6DCD39(config-captive-portal-test2)#OAuth
nx7500-6DCD39(config-captive-portal-test2)#OAuth client-id Google xxxxxxxxxxxx.apps.googleusercontent.com Facebook yyyyyyyyyyyyyyy
nx7500-6DCD39(config-captive-portal-test2)#show context captive-portal test2 server host guest.social.com oauth oauth client-id Google xxxxxxxxxxxx.apps.googleusercontent.com Facebook yyyyyyyyyyyyyyy nx7500-6DCD39(config-captive-portal-test)#