Skip to end of metadata
Go to start of metadata

A user can be authenticated using OAuth or any of the supported authentication methods listed in Authentication and Authorization.

Before you start using the OAuth service from the OAuth service providers such as Google, Facebook, and LinkedIn you must create a developer account with the service provider. This page lists the steps involved in creating developer account with the service providers.

Google Developer Account Creation

Perform the following steps to create developer account with Google OAuth service provider:

  1. Enter the following URL in your web browser and login with your Google credentials:

    https://console.developers.google.com/project

    You must create a project before creating a new client ID.

  2. Click APIs and auth and select Credentials option in the left pane.
    The APIs Credentials page appears:

    Figure : Google OAuth Account Creation

     
  3. Click Create new Client ID.
    The Create Client ID popup appears:

    Figure : Create Client ID

  4. Select Web Application as the application type and click Configure consent screen.
    The Configure Consent screen appears:

    Figure : Configure Consent Screen

  5. Click Save.
    The Create Client ID popup appears:

    Figure : Create Client ID

    You will be prompted to configure the consent screen only once for a new project.

  6. In the AUTHORIZED JAVASCRIPT ORIGINS field, enter the Sonus WebRTC Gateway URI.
    The corresponding callback URI appears in the AUTHORIZED REDIRECT URIS ORIGINS field.

  7. Click Create Client ID.
    The client ID information is displayed:

    Figure : Client ID Information

    The redirect URIs must have 443 as the port number for example, https://www.example.com:443/googlecallback

After creating the OAuth developer account, you must configure the account. For more information on configuring OAuth refer WRTC Cluster Configuration if using EMS, or refer to Configuring WRTC Through Onboard Management if using EMA.

Facebook Developer Account Creation

Perform the following steps to create a Facebook developer account.

  1. Enter your Facebook login credentials in the following link:

    https://developers.facebook.com/apps

    You need to get registered if you are a first time user by clicking Register option.

  2. Select the Website icon.

    Figure : Website Icon

  3. Enter the application name such as WRTC and click on Create New Facebook App ID.

    Figure : Create New App ID

  4. Select the appropriate category such as Communication and click the Create App ID button.

    Figure : Create App ID

  5. Select Skip Quick Start.
    The Dashboard is displayed with the Application ID and Application Secret for the WRTC application.

     

    Figure : Dashboard

    To view the App Secret, click on Show option.

  6. Navigate to Settings and click Basic tab to enter the Sonus WebRTC Gateway URI in Site URL.

    Figure : Basic Settings

     
  7. Enter display name, application domains, and email ID in the Display Name, App Domains, and Contact Email fields respectively.

  8. Click Save Changes.

  9. Click Advanced tab under Settings to enter the redirect URL's and other settings changes as shown in the following figure.

    Figure : Advanced Settings

  10. Click Save Changes.
  11. Navigate to App Review and select Yes to make WRTC application available to public.

    Figure : WRTC App to Make Public

  12. Click Start a Submission.

Ensure the facebook account is validated using the following URL. Also, set the email address for your account to primary.

https://www.facebook.com/settings?tab=account&section=email&view

After creating the OAuth developer account, you must configure the account. For more information on configuring OAuth refer WRTC Cluster Configuration if using EMS, or refer to Configuring WRTC Through Onboard Management if using EMA.

LinkedIn Developer Account Creation

Perform the following steps to create LinkedIn developer account:

  1. Enter the following URL in your web browser and login with your LinkedIn credentials

    https://www.linkedin.com/secure/developer?newapp=
  2. The DeveloperNetwork page appears to add a new application.

  3. Fill all the details to register a new application, such as Company details, Application name and web application url, Contact details, and OAuth User Agreement.

    Figure : Create New Application

  4. In OAuth User Agreement section, select the options as shown in the following figure for Default Scope to complete the OAuth authentication process, and provide WRTC url in "Redirect URLs" column.

    Figure : OAuth User Agreement

  5. Click Add Application.
  6. LinkedIn provides your CLIENT_ID and CLIENT_SECRET after your application is created successfully.

    Figure : Client Id

  7. Click Done.

After creating the OAuth developer account, you must configure the account. For more information on configuring OAuth refer WRTC Cluster Configuration if using EMS, or refer to Configuring WRTC Through Onboard Management if using EMA.