Social Login with Foursquare



Social Login with Foursquare allows an end-user to access the service from the Splash Portal, using a Foursquare social account.
This article is an example of configuration from the Control Panel and the related end-user experience on the Splash Portal side, which shows the potential of the platform.


Control Panel configuration

This is a step-by-step example on how to configure your Venue for the Foursquare login.

Configuring your Venue with Social Login

In order to allow your end-users to log in with Foursquare credentials to your Venue, you should properly configure your Access Template. For this reason, first you need to find the Access Template associated with your Splash Portal.
You can do this by clicking on the Venue button in the quick access toolbar and then finding your Venue in the list. In the short summary of the Venue name, you can read the name of the Access Template used.

So find the name of your Access Template and go to the Social Login tab. This is your basic configuration from the Social Login.

We are going to use the following configuration:

Enable: Yes
Social Login validation: Send a text message / Do a call
Enable Foursquare: Yes
Other login methods based on social networks are disabled.

In this case the configuration is set at the Tenant level.

End-user experience

In the scenario described above, we are going to login with Foursquare credentials for the first time.


Logging in to the Splash Portal

If Foursquare access has been enabled in the Control Panel, as we did in the "Configuring your Venue with Social Login" paragraph, then the "Foursquare Login" button appears in the Splash Portal.
After clicking on this button, the user can access Internet by providing Foursquare credentials.

After this, the end-user is redirected to the Foursquare web site, where he is required to enter access credentials for the social network in order to go ahead with the procedure.
The authentication process is performed totally outside our platform. This means that the Solution will not process or store access credentials from any social network supported by the Social Login feature.

If Foursquare recognizes access credentials, then the end-user is able to access Internet, according to the associated Internet plan.
Anyway for the first access, the end-user needs to take the necessary steps to use the service correctly.
The Social Login feature is based on a Foursquare application called "WiFi Social Login", that acts as an intermediate layer between Foursquare and Cloud4Wi.
As we mentioned, the end-user submits access credentials to Foursquare. After this, the "WiFi Social Login" application checks if data is valid or not, and communicates this information to Foursquare. If data is valid, the application also communicates some end-user's personal data (such as name, gender, birth date, friends, email and location), that is required by Cloud4Wi for the proper creation of the end-user's account.
According to Foursquare policies, when an end-user has access for the first time, he is asked to authorize the "WiFi Social Login" application to do all these steps. The application may ask for additional permissions in the future.


Logging in with Facebook credentials in Foursquare login process

As of November 2015, Foursquare shows a "Login with Facebook" button when a desktop device tries to login. This button does not appear to be displayed for mobile devices.
The "Login with Facebook" process that we are going to describe is conceptually different from Facebook Social Login, as in any case here we have a Foursquare account involved in the login process.
So, it is not correct to say that this is a Social Login based on Facebook. This is is a Social Login based on Foursquare, as Foursquare handles the authorization process with Facebook credentials.

It is important to state that, in order to allow the "Login with Facebook" process, it is necessary to enable the walled garden for both Foursquare and Facebook. Otherwise, end-users will not be able to view the Facebook login box.
You will find this note also in the following page: Walled Garden for the Social Login (web sites/domains to open).

Regarding "Login with Facebook" process, there are two cases to consider. In the second one, unfortunately, we found some limitations:

  • The end-user clicks on "Login with Facebook" and has previously linked his Foursquare account to a Facebook one (you can find further information directly in the Foursquare Help Center, for example here: Connecting to Facebook and Twitter). In this case we didn't find any issue.

  • The end-user clicks on "Login with Facebook" and provides some Facebook credentials that were not previously linked to any Foursquare account.
    Unfortunately there are some known issues about this particular case, as you can read in the next paragraph called "Known issues".

Known issues

As of November 2015, we found an issue when the end-user clicks on "Login with Facebook" and provides some Facebook credentials that were not previously linked to any Foursquare account.
More precisely: this action causes the creation of a new Foursquare account, and the end-user is redirected to the Foursquare timeline in order to complete his profile.
Unfortunately, after this action, the end-user is not redirected back to the Splash Portal and for this reason, he is not able to go online.
A way to overcome this issue should be a new Splash Portal window without clearing the cookies, and then clicking on "Foursquare login" again. In that case you should be able to complete the process.

Please note that this issue is limited to desktop devices, so most probably to a minority of your end-users. In fact, as we mentioned earlier, this issue does not exist for mobile end-users since the "Login with Facebook" button does not appear for mobile devices (see the picture below).



Validating a mobile phone during the first access

When configuring the Control Panel, we set the Social Login validation option to "Send a text message / Do a call". This will cause the Splash Portal to ask the end-user for his mobile phone number.
It is also possible to set Cloud4Wi to send a code to the end-user’s mobile phone and ask him to enter it into the Splash Portal (by setting Social Login validation option to "Receive code via SMS") or simply to skip the validation step (by setting Social Login validation option to "None").

As mentioned before, the current value of the Social Login validation option is "Send a text message / Do a call". So the end-user is asked to call or send a text message to a free number, in order to confirm the provided phone number.

After this step, the registration is complete.
As already mentioned, the end-user will not be asked in the future to validate his mobile phone number if the validation has been successfully completed.

Everything has been done, so the end-user is online.

Have more questions? Submit a request