oAuth Setup Example

This example explains steps to set up oAuth Specifies a process for resource owners to authorize third-party access to their server resources without providing credentials. authentication on Okta 

  1. Go to the Okta site, and select your application under the Applications menu.

  1. Save your client ID and continue to Edit settings.

  1. Grant type

    1. Select all of the following options:

      1. Refresh token

      2. Allow ID Token with implicit grant type

      3. Allow Access Token with implicit grant type

  1. Add the sign-in redirect URL:

    1. http://locahost:{connector port}/oAuth.aspx

  2. Add sign-out redirect URL.

  3. Click Save.

  1. Go to http://localhost:{connector port}/OAuth.aspx

    1. Client Id: Set your Client ID

    2. Server URL: Set your server URL: Enter the URL of your Okta server

      • Example: https://my.local.okta.server-admin.okta.com/

    3. Click Authorize.


6. Go to the Web Service Connection Connection defines the how Connectivity Hub connects to your Source System (which contains your documents, graphics, etc.,). Your Connection includes identifying elements such as: URL of the BA Insight web service connector you are using, (File Share connector, SharePoint Online connector, etc.), Authentication mode, User Accounts and Credentials, Database information (for database connectors) in Connectivity Hub.

  1. Site: Set the URL of the site to crawl

  2. Client Id: Set your Client ID

  3. Settings: Set the additional connector settings in the Settings field.

  4. Example:

Copy
Additional Settings Example
{
        "crawlDelay": 100,
        "crawlTimeout": 300000,
        "retryCount": 3,
        "filters": {
            "allow": [
                "/"            ],
            "disallow": [
                "*?utm_source"            ]
        },
        "supportFileExtensions": [
            "pdf"        ],        

       "oAuthInitializationPage":"https://localhost:3000/oAuthInitialization?access={AccessToken}&idToken={IdToken}"    
}