Set Up Authentication Service and Framework

Here you'll set up authentication service and CX industries framework.

Set Up Authentication Service

Here's how you set up authentication services for the ODA bot.

  1. In the Digital Assistant, click Settings > Authentication Services.

  2. Click Add Service.

  3. Enter IDCS_OAuthForFabric as the name.

  4. Enter the token endpoint URL as https://<IDCS-Service-Instance>.identity.oraclecloud.com/oauth2/v1/token

  5. Enter the authorization endpoint URL as https://%3cIDCS-Service-Instance%3e.identity.oraclecloud.com/oauth2/v1/authorize

  6. Enter the client ID and the client secret.

    Note: You had recorded this when setting up the redirect URL in Oracle Identity Cloud Service. For more information, see step 7 of Set Up Redirect URL in Oracle Identity Cloud Service topic.
  7. Add these scopes:

    • <Industries Framework URL>urn:opc:resource:consumer::all

    • <Industries Framework URL>urn:opc:resource:consumer::SelfService

    Note: When you have multiple values for scopes, separate them by using space in between them.
  8. Enter sub as the subject claim.

Set Up CX Industries Framework

For the digital assistant to be able to communicate with the Oracle CX instance, it needs to use the REST endpoint for that instance. That endpoint is specified in a custom parameter.

  1. In the Digital Assistant, click Development > Digital Assistants.

  2. Select the DX4C Digital Assistant digital assistant.

  3. Go to the Skills tab.

  4. Set the value of the da.FabricEndpoint parameter to https://<fabric-host>/api/.