# Guest Access using Social Login - Google - Twitter - Facebook -Office 365

**URL:** https://community.cambiumnetworks.com/t/guest-access-using-social-login-google-twitter-facebook-office-365/61910
**Category:** cnMaestro
**Tags:** knowledge-base
**Created:** [May 30, 2019, 11:14am UTC](https://community.cambiumnetworks.com/t/guest-access-using-social-login-google-twitter-facebook-office-365/61910 "2019-05-30T11:14:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gupta-Bobby](https://d10gw3vjmzyp8.cloudfront.net/user_avatar/community.cambiumnetworks.com/gupta-bobby/32/11897_2.png) [@Gupta-Bobby](https://community.cambiumnetworks.com/u/Gupta-Bobby)
#### Post date: [May 30, 2019, 11:14am UTC](https://community.cambiumnetworks.com/t/guest-access-using-social-login-google-twitter-facebook-office-365/61910/1 "2019-05-30T11:14:06Z")

</div>

Steps to achieve cnMaestro based Guest Access using Social logins like Google, Twitter, Facebook and Office 365

1. Create GuestAccess profile on cnMaestro.

- Login to cnMaestro \>\> Navigate to Services \>\> Guest Access Portal \>\> **Add Portal**.
- Enter Portal Name, Description , enable logging for client login events and click on **Save**

 ![1.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/4662f1093b7c658b30096b8653f1f5c7910e18b6.png "1.png")

Click on **Edit Guest Portal Details**

 ![2.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/c0d77d27f2aa0f42462f9850112e7a14164c6bbe.png "2.png")

Navigate to **Access** tab and expand **Social Login**

 ![3.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/4dffc75ccea15c1b3ec97d7cb81c810a565d0ae9.png "3.png")

Select Google, Twitter, Facebook, Office 365 based on your requirement:

1. **![image.png](https://d1okf4ta8xniw3.cloudfront.net/original/2X/4/454586648ffaed9debd27f56d0b8285db5e12bdd.png "image.png")**2. Map the Guest Access Portal to the required existing WLAN or to a new WLAN.

- Click on Configure \>\> WLANs and AP Groups \>\> click on edit WLAN / Add New WLAN
- Navigate to Guest Access tab \>\> Enable tick box \>\> select cnMaestro in Portal Mode \>\> select the Guest Portal from the drop down under Guest Portal Name.

 ![5.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/dee8ed2352f301f7b852620366ec801ef72376ad.png "5.png")

3. Creating APIs to integrate cnMaestro with Google, Twitter, Facebook and Office 365.

a) **Google**

- Login to Google Account and navigate to URL : [https://console.developers.google.com](https://console.developers.google.com)
- Click on **Select a Project** and create a **New Project**

 ![6.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/096637702bf5923d5e40f6d84562628aa96c95a8.png "6.png")

Give a name to the Porject and click on **CREATE**.

**![7.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/fe2dc6ce5735fd5a92e968d4c90d1b88f5623b56.png "7.png")**

Click on **Credentials** under this project.

 ![8.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/48644c633ac9684d4bd345cbd1d2176e40c5def5.png "8.png")

Under Credentials tab create **OAuth Client ID.**

 ![9.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/d1573002bd6c96d00a9fc898f655d0ee74fe8020.png "9.png")

Configure Consent Screen

 ![10.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/3d0218b80df62f66f087c0f48fd9d742b9491369.png "10.png")

Assign a name to the application, map to the an **email ID,** add **cambiumbnetworks.com** to the authorized domain and click on **Save**.

 ![11.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/7a6656e4b8e0c1c6aaf7f233fc72a82a4cc378cd.png "11.png")

Once clicked on **Save** for above page it redirects to creation of **OAuth Client ID**.

Select Application type as **Web Application,** give a **Name** , add **Guest Portal Hostname** url/IP which you will get from cnMaestro UI and click on **Create**.

 ![12.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/fee0da27219653ba723dc0588fe1d65ffd5b6e1b.png "12.png")

Upon click on **Create** on above page it redirects to the screen showing **Client ID** and **Client Secret**.

 ![13.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/2518b658ae51b49b1578abb172c3017cdfdaf738.png "13.png")

Copy the **Client ID** and paste it to the cnMaestro enabling **Google** under Social Logins and click on **Save.**

 ![14.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/1edc3edc2bf407351727bfb6a8bcd0ccd598a480.png "14.png")

b) **Twitter**

Login to Twitter Account and navigate to URL : [https://developer.twitter.com/en/apps](https://developer.twitter.com/en/apps) and click on **Create an app.**

 ![15.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/a7d092129c037e595e7bdfa540c7af8e2c6be5b7.png "15.png")

 ![16.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/edbcce7931dc3d60baca79bb70bc650ac461ca3d.png "16.png")

Click on **Keys and tokens** and copy **Consumer API Key** and **Consumer API Secret Key.**

 ![17.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/b5ad9b9ca2fbf740cfe03fade921f5ebd90df2a4.png "17.png")

Paste them to cnMaestro GUI for **Twitter** social login.

 ![18.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/c6ee703a72cbcbdd13a52f2d20056de045ca15a2.png "18.png")

c) **Facebook**

Login to Facebook Account and navigate to URL : [https://developers.facebook.com/apps/](https://developers.facebook.com/apps/) and click on **Add a New app.**

 ![19.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/df1798804fd51e10cae3dd985e49b55c9b3daf8d.png "19.png")

Enter App **Display Name,**  **Contact Email** and click on **Create App ID.**

 ![20.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/5ac30a1637027912d34fd661644c198d97d5c27f.png "20.png")

Select a Scenario as **Integrate Facebook Login** and click on **Confirm**.

 ![21.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/8aae296f46956675c3a8d37b2137eab26ef995d5.png "21.png")

Navigate to **Settings** tab under **Facebook Login** , add **Facebook Reply URL** &nbsp;from cnMaestro to **Valid OAuth Redirect URLs** section, change **Login from Devices** to **Yes** and click on **Save Changes**.

 ![image.png](https://d1okf4ta8xniw3.cloudfront.net/original/2X/c/c5459c56236e4d553470fc18733b7c9b7606514e.png "image.png")

Navigate to **Settings** \> **Basic** and copy **App ID** and **App Secret**. Enter **Privercy Policy URL** as your company URL. Make sure the APP status shows **Live**

 ![23.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/2f330757a09f8a085095758ac25072155ae0319c.png "23.png")

![23a.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/ca33aa24a4b07ac84329d8e46d732b5aeaa16ce2.png "23a.png")

Navigate to **Settings \>\> Basic** and copy **App ID** and **App Secret**.

**![24.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/66c77bf60e104dd48c314f0876a43ead42c1f520.png "24.png")**

d) **Office 365**

Login to Office 365 Account and navigate to URL : [https://apps.dev.microsoft.com/](https://apps.dev.microsoft.com/) and click on **Add an app**.

 ![25.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/3cb0d9e110c0fc024b9a1d56f0e6932357f8680a.png "25.png")

**![26.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/f21f055612029b7d4f5985cdd75091ab3d4a7ee3.png "26.png")**

Upon Adding your App name and clicking on **Create application** , it redirectes to App page.

1. Copy **Application ID** and paste it to cnMaestro Guest Access page under **Office 365** 
2. Click on **Generate New Password**.
3. Copy **Reply URL** from cnMaestro and paste it under **Redirect URLs** 
4. Add **my.centrify.com** to the Whitelist on the cnMaestro.

 ![27.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/a7f20c64c94a9814e6a12b982d6950c314a9ad9a.png "27.png")

Sample of client login page:

 ![28.png](https://d1okf4ta8xniw3.cloudfront.net/original/1X/f43719b4c09ee80ac3b4c70e27ea8f2ec2df3ffa.png "28.png")

---

<div class="post-metadata">

### Author: ![Simon\_King](https://d10gw3vjmzyp8.cloudfront.net/user_avatar/community.cambiumnetworks.com/simon_king/32/16169_2.png) [@Simon\_King](https://community.cambiumnetworks.com/u/Simon_King)
#### Post date: [December 20, 2020, 8:37am UTC](https://community.cambiumnetworks.com/t/guest-access-using-social-login-google-twitter-facebook-office-365/61910/2 "2020-12-20T08:37:18Z")

</div>

A post was split to a new topic: [Guest Access Portal Social Login capabilities](https://community.cambiumnetworks.com/t/guest-access-portal-social-login-capabilities/74983)

---

<div class="post-metadata">

### Author: ![Simon\_King](https://d10gw3vjmzyp8.cloudfront.net/user_avatar/community.cambiumnetworks.com/simon_king/32/16169_2.png) [@Simon\_King](https://community.cambiumnetworks.com/u/Simon_King)
#### Post date: [April 13, 2021, 9:50am UTC](https://community.cambiumnetworks.com/t/guest-access-using-social-login-google-twitter-facebook-office-365/61910/3 "2021-04-13T09:50:39Z")

</div>

A post was split to a new topic: [Problem configuring Facebook login for guest access](https://community.cambiumnetworks.com/t/problem-configuring-facebook-login-for-guest-access/77744)
