04-14-2023 09:34 AM - edited 04-26-2023 03:32 PM
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 Microsoft.
Test Environment:
Setup Procedure:
Create the Guest WLAN.
Below example using WLAN name as microsoft_social_login and Authentication Type as Guest Access and Method as Open.
Encryption Options is selected as Open (it can be changed based on your requirement).
Under Guest Access Portal, select Social Media Login.
In Social Media Profile click '+' icon to create the profile
Name the social media profile and in Social Auth Option turn ON Microsoft and click the here button
It will redirect to Microsoft Live development dashboard URL - https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
To generate an OAuth 2.0 ID for Microsoft Live social media WLAN login, use the following procedure:
Click New Registration.
Enter a Name for the application.
For Support Account Types, select the Accounts in any organizational directory and personal Microsoft accounts button.
In, Redirect URI:, provide URL https://ap.ruckus.com:9998/microsoftHandler
Click Register.
Microsoft will provide you with the Application (client) ID. Take note of these values, as you will need to enter them into the SmartZone web interface later.
Create a client secret by completing the following steps:
4. Copy and save the client secret value before leaving the page, as you will need to enter this value when you log in to the SmartZone web interface.
Now on SmartZone Social Media Profile , update the Microsoft Client ID and Microsoft Secret in Social Auth Option.
Then add the below Whitelisted Domains:
*.gstatic.com
*.msauth.net
auth.gfx.ms
*.microsoftonline.com
*.live.com
*.geotrust.com
The next step is to create a Guest Portal Service by clicking the '+' icon
Type the Portal name and click on Apply (It can be modified based on requirement).
For this example, all other settings including VLAN assignment for end-user devices are set to the default values.
Next click OK to save the WLAN configuration.
We have done all the necessary configuration to enable Social media login using Microsoft!!!
Now you can connect the client to the Social media login SSID. After connecting to this SSID, your client device will open the default web browser and redirect to the Guest Access login page.
Click on Microsoft logo in this Guest access login page and this will redirect you to Microsoft Sign in page.