Hello Everyone,


This Article will be a continuation of the : Captive portal sign in with google Part1:Generating APP token and Secret covered in a part 1.


In this article we shall associate the details if the App tokens and secret from google to the Captive Portal sign in with Google account.


Step 1: Create our captive Portal.

By logging into the ray cloud controller at https://cloud.ray.life

Type in your username and password.

Navigate to the cluster where you want to create you captive portal and follow the steps covered below.




Step 4 On the captive portal window select the Pre Authentication as none and save.



Step 5 On the captive portal authentication type select authentication type as social in authentication type and click on the templates tab.



The Google app token and Google APP secret details were generated in the previous article found in the following link : Captive portal sign in with google Part1:Generating APP token and Secret

save and proceed to next step where we put the welcome message and captive portal name.



Now our portal is created and ready to be associated to a WLAN SSID.



Step 7 Creating Wlan profile and SSID.

          From the Profiles Menu--> Wlan-->  available profile--> create Wlan--> 

  


Go to Profiles -> Available Profiles -> Wlan
Input the below details.
Profile Name. Give a proper name to the Wlan profile.
Description of the Wlan Profile.
Definition. From the drop down, select the Captive Portal.
Captive Portal. Select the Captive Portal Template created in step 5.
Plans. Select the Group created.
Network Interface. By default, the Wlan is Bridged to the WAN Interface.

Note:

In wlan profile settings in google sign in captive portal, we have to add a list of domains to be whitelisted so that the user is able to get access and sign in with their google accounts. this is similar to a walled garden setup providing access to domains like:  accounts.google.co.in, accounts.google.co.ug, accounts.google.co.qa etc


in the applications drop down menu, select google.



as shown in image below:

Then save and publish your wlan profile.


Thanks for reading

Ray Support