Configure OAuth Authentication

This section describes how to configure the connector to authenticate with Yammer. For more information about authenticating with Yammer, refer to the Yammer developer documentation.

To configure authentication with Yammer

  1. Go to the Yammer developers web site and create an application to represent the connector. When asked for a Redirect URL, HPE recommends you use http://localhost:7878/, because this is where the OAuth configuration tool will run by default. For more information about creating an application to represent the connector, see https://developer.yammer.com/docs/app-registration.

    Microsoft will provide you with an application key (sometimes called a client ID) and application secret (sometimes called a client secret). You will need these details to configure the connector.

  2. Open the folder where you installed the connector.
  3. Open the file oauth_tool.cfg in a text editor.
  4. Set the following parameters:

    ProxyHost (Optional) The host name or IP address of the proxy server that the connector must use to access Yammer.
    ProxyPort (Optional) The port of the proxy server that the connector must use to access Yammer.
    AppKey The application key you obtained when you created an application to represent the connector.
    AppSecret The application secret you obtained when you created an application to represent the connector.
    RedirectUrl HPE recommends using the default value for this parameter, but it must match the redirect URL you entered when you created the application to represent the connector.
  5. Save and close the file.
  6. At the command line, type the following command and press ENTER:

    oauth_tool.exe oauth_tool.cfg OAuthTool

    The OAuth configuration tool runs, and opens a Web browser at the Yammer login page.

  7. Authenticate with Yammer as a Yammer verified admin.

    Yammer asks whether to allow the application permission to use the account.

  8. Accept the request.

    The OAuth tool generates a file named oauth.cfg. This file contains the configuration parameters necessary to authenticate with Yammer. You can then include these settings in the connector configuration file. For example:

    [MyTask] < "oauth.cfg" [OAUTH]

    For information about including configuration parameters from another file, see Include an External Configuration File.


_HP_HTML5_bannerTitle.htm