cancel
Showing results for 
Search instead for 
Did you mean: 

Guest Portal using Social Media Sign in - Facebook.

FrancisBorah
RUCKUS Team Member

Summary:

In this community article, we will look at the steps involved in setting up Guest Portal authentication via Social Media Login, in this case via Facebook.

Test Environment:  

  • SmartZone/Virtual SmartZone [Essentials/High-Scale] (Controller), version 6.1.1.x.
  • R350 (Access Point)

Setup Procedure:

  • In the vSZ/SZ GUI, navigate to ‘Network -> Wireless LANs’ and select ‘Create'.

 

FrancisBorah_1-1662835044985.png

Create the Guest WLAN.

Below example using WLAN name as "SOCIAL_MEIDA" and Authentication Type as "Guest Access" and Method as "Open"

 

FrancisBorah_2-1662836965344.png

 

Encryption Options is selected as 'Open' (but it can change based on requirement). 

Under Guest Access Portal, select 'Social Media Login'

In 'Social Media Profile' click '+'icon to create the profile

 

FrancisBorah_4-1662837496002.png

'Name' the social media profile and in Social Auth Option turn 'ON' Facebook and click the 'here' button

 

FrancisBorah_9-1662842799167.png

It will redirect to the Facebook Developer account.

Alternatively, we can use the https://developers.facebook.com --> My Apps

 

FrancisBorah_10-1662842991518.png

 

Next, log in with your Facebook credentials and select 'Create App'

FrancisBorah_11-1662843087525.png

 

Select App Type as 'Consumer' and provide a name on Display name (Here example is 'Social-Media'). 

Then click 'Create App'

FrancisBorah_12-1662843141646.png

FrancisBorah_13-1662843404726.png

Next in 'Settings' --> 'Basic' update the below information:

1. Privacy Policy URL: https://support.ruckuswireless.com/privacy_policy

2. User data deletion: https://support.ruckuswireless.com/privacy_policy

3. If needed update 'App Icon' and 'Category'

4. Website: https://support.ruckuswireless.com/

 

FrancisBorah_14-1662847837927.png

FrancisBorah_15-1662848187580.png

 

Then Add Product --> 'Facebook Login'

FrancisBorah_16-1662850474669.png

In Facebook Login, navigate to Settings and update the below:

1. Valid OAuth Redirect URIs: https://ap.ruckus.com:9998/facebookHandler

2. Login from Devices -> Yes

 

FrancisBorah_17-1662850639433.png

 

Next in App Review --> 'Permissions and Features' --> 'public_profile' --> select 'Get advanced access'

 

FrancisBorah_19-1662851235924.png

 

FrancisBorah_18-1662850765609.png

 

Finally, make the App Mode --> 'Live'

 

FrancisBorah_20-1662851292495.png

 

Now on SmartZone 'Social Media Profile' the Update the 'Facebook Client ID' and 'Facebook Secret' in Social Auth Option.

 

FrancisBorah_0-1662852636578.png

 

FrancisBorah_5-1662838543245.png

Then add the below Whitelisted Domains:

1. *.facebook.com

2. fbcdn-profile-a.akamaihd.net

3. fstatic-a.akamaihd.net

4. *.fbcdn.net

 

FrancisBorah_6-1662838742367.png

The next step is to create a 'Guest Portal Service' by clicking the '+' icon

 

FrancisBorah_7-1662841278235.png

Type the 'Portal name' and 'Save' (It can be modified based on requirement).

FrancisBorah_8-1662841575577.png

For this example, all other settings including VLAN assignment for end-user devices are set to the default values.

Next click 'OK'.

This configuration will be good to go ahead with Social media login using Facebook.

Regards,
Francis Borah

 

1 REPLY 1

Geinzosk
New Contributor

If Facebook login keeps looping, I’ve fixed that before by double‑checking the redirect URI and making sure the controller’s external URL matches what’s in the Facebook app settings. I also keep an image lookup tool like face2social in my pocket to confirm if guest profile photos are legit during tests, since it helps spot reused or fake accounts.