Creating Apps for Social Login

The following topics describe the procedures for creating applications to enable the social login feature:

Creating a Facebook App

Creating a Google App

Creating a Twitter App

Creating a LinkedIn App

Creating a Facebook App

Before creating a Facebook app, ensure that you have a valid Facebook account and you are registered as a Facebook developer with that account.

To create a Facebook app, complete the following steps:

1. Visit the Facebook app setup URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. at https://developers.facebook.com/apps.

2. From My Apps, select Add a New App.

3. Enter the app name and your email address in the Display Name and Contact Email text boxes, respectively.

4. Click Create App ID.

5. Hover the mouse on Facebook Login and select Setup.

6. Click Web (that is, the WWW World Wide Web. platform).

7. Enter the website URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. in the Site URL box.

This URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. is the same as the server URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. mapped in the splash page configuration.

8. Click Save.

9. Read through the Next Steps section for further information on including Login Dialog, Access Tokens, Permissions, and App Review.

10. Go to PRODUCTS > Facebook Login > Settings from the left navigation menu.

11. Click the Client OAuth Login toggle switch to turn to Yes.

12. Enter the OAuth Open Standard for Authorization. OAuth is a token-based authorization standard that allows websites or third-party applications to access user information, without exposing the user credentials. URI Uniform Resource Identifier. URI identifies the name and the location of a resource in a uniform format. in the Valid OAuth redirect URIs box.

The URI Uniform Resource Identifier. URI identifies the name and the location of a resource in a uniform format. is the server URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. mapped in the splash configuration with /oauth/reply appended to it. To get the valid Oauth redirect URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet., go to the Guest Access > Splash Pages path and click the eye (FacebookApp_EyeIcon) icon available against the specific splash page name in the Splash Pages table.

 

Ensure that the URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. is an HTTPS Hypertext Transfer Protocol Secure. HTTPS is a variant of the HTTP that adds a layer of security on the data in transit through a secure socket layer or transport layer security protocol connection. URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. with a domain name and not the IP address. For example, https://example1.cloudguest.arubanetworks.com/oauth/reply.

13. From the left navigation menu, select App Review.

14. Select the Make <App Name> Public toggle switch to make your app available to public.

15. Click Category.

16. In the Choose a Category pop-up window, select a category.

17. Click Confirm.

18. Select other extra permissions you want to provide for the users of your app.

There are 41 permissions available for you to select from.

19. Click Add xx Items, where x represents the number of permissions you selected.

20. Enter the reason for providing specific permissions and click Save.

21. Click Submit for Review.

22. On the left navigation pane, click the Settings icon.

Note the app ID and app secret key. Use the app ID and secret key when configuring Facebook login in the Aruba Central UI.

23. Under App Domains, enter the server URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet..

Creating a Google App

Before creating a an app for Google based login, ensure that you have a valid Google account.

To create a Google app, complete the following steps:

1. Access the Google Developer site at https://code.google.com/apis/console.

2. To select an existing project, click Select a project and select the desired project.

3. If the project is not created, click Create a project, enter the project name and click Create.

4. Click Enable APIs and Services.

5. Navigate to Social category, and then click Google API. The Google API window opens.

6. To enable the API Application Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software., click Enable.

7. Click Create Credentials. If the credentials are already created, click Go to credentials.

8. In the Credentials pane, perform the following actions:

Under the Where will you be calling the API from section, select Web Browser.

Under the What data you will be accessing section, select User Data.

Click What Credentials do I need.

9. Under Create an OAuth 2.0 client ID. Enter the OAuth 2.0 Client ID Name.

10. Under Authorized JavaScript Origins, enter the base URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. with FQDN Fully Qualified Domain Name. FQDN is a complete domain name that identifies a computer or host on the Internet. of the cloud guest instance that will be hosting the captive portal A captive portal is a web page that allows the users to authenticate and sign in before connecting to a public-access network. Captive portals are typically used by business centers, airports, hotel lobbies, coffee shops, and other venues that offer free Wi-Fi hotspots for the guest users.. For example, https://%hostname%/.

11. Under Authorized Redirect URIs, enter the cloud server OAuth Open Standard for Authorization. OAuth is a token-based authorization standard that allows websites or third-party applications to access user information, without exposing the user credentials. reply URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. that includes the FQDN Fully Qualified Domain Name. FQDN is a complete domain name that identifies a computer or host on the Internet. of the cloud server instance with /oauth/reply appended at the end of the URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet..

 

Ensure that the URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. is an HTTPS Hypertext Transfer Protocol Secure. HTTPS is a variant of the HTTP that adds a layer of security on the data in transit through a secure socket layer or transport layer security protocol connection. URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. with a domain name and not the IP address. For example, https://example1.cloudguest.examplenetworks.com/oauth/reply.

12. Click Create Client ID.

Under Set up the OAuth 2.0 consent screen, provide your Email Address and product name, and then click Continue. The client ID is displayed.

13. Click Done. A page showing the OAuth Open Standard for Authorization. OAuth is a token-based authorization standard that allows websites or third-party applications to access user information, without exposing the user credentials. Client IDs opens.

14. Click the Oauth client ID to view the client ID and client secret key.

Use this client ID and client secret key when configuring Google login in the Aruba Central UI.

Creating a Twitter App

Before creating a Twitter app, ensure that you have a valid Twitter accosunt.

To create a Twitter app, complete the following steps:

1. Visit the Twitter app setup URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. at https://apps.twitter.com.

2. Click Create New App. The Create an application web page is displayed.

3. Enter the application name and description.

4. For OAuth Open Standard for Authorization. OAuth is a token-based authorization standard that allows websites or third-party applications to access user information, without exposing the user credentials. 2.0 Redirect URLs Uniform Resource Locator. URL is a global address used for locating web resources on the Internet., enter the HTTPS Hypertext Transfer Protocol Secure. HTTPS is a variant of the HTTP that adds a layer of security on the data in transit through a secure socket layer or transport layer security protocol connection. URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. of the cloud guest server to which you want to connect this social authentication source, and append /oauth/reply at the end of the URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet..

 

Ensure that the URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. is an HTTPS Hypertext Transfer Protocol Secure. HTTPS is a variant of the HTTP that adds a layer of security on the data in transit through a secure socket layer or transport layer security protocol connection. URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. with a domain name and not the IP address. For example, https://exa.example.com/oauth/reply.

5. Select Yes, I agree to accept the Developer Agreement terms.

6. Click Create a Twitter application.

7. Click Manage Keys and Access Tokens.

The Keys and Access Tokens tab opens. The consumer key (API Application Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software. key) and consumer secret (API Application Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software. key) are displayed.

8. Note the ID and the secret key. The consumer key and consumer secret key when configuring Twitter login in Aruba Central UI.

Creating a LinkedIn App

Before creating a LinkedIn app, ensure that you have a valid LinkedIn account.

To create a LinkedIn app, complete the following steps:

1. Visit the LinkedIn app setup URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. at https://developer.linkedin.com.

2. Click My Apps. You will be redirected to https://www.linkedin.com/secure/developer/apps.

3. Click Create Application. The Create a New Application web page is displayed.

4. Enter your company name, application name, description, website URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet., application logo with the specification mentioned, application use, and contact information.

5. Click Submit. The Authentication page is displayed.

6. Note the client ID and client secret key displayed on the Authentication page.

7. For OAuth 2.0 Redirect URLs, enter the HTTPS Hypertext Transfer Protocol Secure. HTTPS is a variant of the HTTP that adds a layer of security on the data in transit through a secure socket layer or transport layer security protocol connection. URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet. of the cloud guest server to which you want to connect this social authentication source and append /oauth/reply at the end of the URL Uniform Resource Locator. URL is a global address used for locating web resources on the Internet..

8. Click Add and then click Update. The API Application Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software. and secret keys are displayed.

9. Note the API Application Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software. and secret key details. Use the API Application Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software. ID and secret key when configuring LinkedIn login in the Aruba Central UI.