Configure the Authentication

You must add a Client credentials service to confgure the authentication between Oracle Digital Assistant and Oracle Field Service.

For more information on how to add a new authentication service, see the Using Oracle Digital Assistant guide.

  1. Log in to Oracle Digital Assistant.
  2. Click Settings > Authentication Services.
  3. Click Add Service.
  4. Use the values in this table to create the service:
    Field Name Value
    Grant Type Client Credentials.
    Identity Provider Oracle Identity Cloud Service.
    Name A name by which you want to identify the authentication service.
    Token Endpoint URL The Identity Provider's URL for requesting access tokens in Oracle Field Service. For example <OFS API endpoint>/rest/oauthTokenService/v2/token. (The token end point URL is the URL used for getting access token for OFS REST APIs, explained on: https://sunrise0781.etadirect.com/rest/oauthTokenService/v2/token, where sunrise0781 is a sample instance name.)
    Client ID Client ID of Oracle Field Service of the application configured on the Configuration > Applications page for Oracle Digital Assistant and the Oracle Field Service instance name concatenated with '@'. For example. 'assistant@OFSinstance'. You can access the Client ID and Client Secret on the Oracle Field Service Configuration > Applications Where is My Technician Application page. You must have configured an application to access the OFS REST APIs as well.)
    Client Secret Client Secret of the Oracle Field Service application configured on the Configuration > Applications page for Oracle Digital Assistant.
    Scopes The scopes that must be included when Oracle Digital Assistant requests an access token from the provider. Add all the scopes that are required to access the resources. For example: '/rest'.
    This screenshot shows the New Authentication Service page, where you can add the details of the client authentication:
    This screenshot shows the New Authentication Service page, where you add the details of the client authentication.
    This screenshot shows the authentication details for a Where is My Technician service:
    This screenshot shows the details for the Where is My Technician service.