OAuth Setup Procedure for Meta (Facebook) Social Media Login

Meta (Facebook) social media WLANs require an OAuth 2.0 client ID and password, which can be generated using the following procedure.
As a prerequisite, you must register your Meta (Facebook) account on the Meta Developers Apps website. Refer to https://developers.facebook.com/docs/development/register/ for more information.

Complete the following steps to create a project ID in the Meta (Facebook) Developers Console.

  1. Go to the Facebook Developers Apps website (https://developers.facebook.com/apps) and select Log In.
    Note: Alternatively, click the Click here link to open the Developers App Facebook page from within the RUCKUS Unleashed guest access settings.
  2. Log in using your facebook credentials and click My Apps.

    The Apps page is displayed.

    Creating a New App on Facebook

  3. Click Create App to create a Facebook application.
  4. In the Create an App window, select Authenticate and request data from users with Facebook Login and click Next.

    Adding OAuth Use Case

  5. Under Login type, for Are you building a game?, select No and click Next.

    Selecting Login Type

  6. Under App Details, enter the application name, application contact email address, and optionally select a business account from the list.
    Note: A business account may be required in a production environment; individual Facebook accounts can make up to 200 calls per hour.

    Adding Application Details

  7. Click Create App, if prompted for security purposes, enter your Facebook login credentials.
    The Dashboard screen is displayed.

    Facebook App Dashboard

  8. Under Customize this app, click Customize adding a Facebook Login button.
    The Customize Facebook login and requesting user data page is displayed.

    Customizing Facebook Login and Requesting User Data

  9. Under Facebook Login, for Settings, click Go to settings.
  10. In the Facebook Login Settings page, configure the Client OAuth settings as follows:
    1. For Client OAuth login and Web OAuth login, toggle the switch to Yes.
    2. For Valid OAuth Redirect URIs, enter the URL https://unleashed.ruckuswireless.com/user/auth.jsp.
      Note: If you have imported a certificate with a fully qualified domain name (FQDN) to RUCKUS Unleashed, you must use the FQDN. For example, if the FQDN is “mydomain.com”, the Valid OAuth Redirect URIs will be “https://mydomain.com/user/auth.jsp”.

      Configuring Client OAuth Settings

    3. Click Save Changes.

      The updated settings are saved.

  11. Use the Go back option to return to the Dashboard page.
  12. Under Customize this app, click Explore and add more use cases to add additional available use cases as needed. Alternately, you can also click Use cases from the menu.

    Adding Use Cases

  13. From the menu, click Dashboard and select Prepare and submit for app review, and complete the following steps. Alternately, you can click Review from the menu.
    1. Review and complete testing requirements
    2. Business Verification
    3. Data handling questions
  14. Under Publish App, click Make sure all requirements are complete, then publish your app. Review the use cases you have added to your app. Ensure that all the required settings are completed.

    Publishing the App

  15. Click Publish.
    Note: If the app is not published, "App is not activated" message is displayed whenever a Facebook account tries to log in to this Facebook OAuth SSID.
  16. From the menu, click App Settings > Basic and note the App ID and App secret because you must enter these values in the RUCKUS Unleashed web interface as the client ID and client secret. Refer to Facebook for more information.

    App ID and App Secret