Configure the Oracle JET Application

Use this topic to configure your Oracle JET application.

After downloading the Oracle JET application, you must configure the javascript file to include site-specific values. The javascript file can be found in the installed directory, at the following path:

../src/js/config/siteConfig.js

The configuration file is seeded with default values that represent the authentication scheme chosen to connect to Oracle Fusion Service resources, application endpoints, and timeout values. The following table provides an overview of the configuration parameters that require modifications.

Property Name

Description

adminUserForRegn

The user name used by self-signed user registration in conjunction with adminUserPswdForRegn, the password to sign in to Oracle Fusion Service.

For example:

firstname.lastname@yourdomain.com

Note: This property is used exclusively for self-service registration.

adminUserPswdForRegn

The password used by self-signed user registration in conjunction with adminUserForRegn, for the user name to sign in to Oracle Fusion Service.

Note: This property is used exclusively for self-service registration.

faInstance

The URL for Oracle Fusion Service.

loginType

A string that represents how your Oracle JET application connects to Oracle Fusion Service. These are possible values:

  • Basic When the user attempts to login, the user name and password are required.

  • Implicit Uses the OAuth Implicit grant type flow. This method is browser-based, where a user is redirected to the identity provider to sign in. With this method, the user consents to allowing Oracle Fusion Service to access resources on their behalf.

  • UserAssertion Uses JSON web tokens provided by a jetty-based server application. The JSON web tokens are used as user information. The client ID and client secret are used to represent the application.

  • ClientAssertion - Uses JSON web tokens provided by a jetty-based server application. JSON web tokens are used for the user and client.

authzEndpoint

The URL for the Oracle Identity Cloud Service authorize endpoint.

For example:

https://IDCSservice/oauth2/v1/authorize

Note: This property is used only when loginType is set to Implicit.

idcsTokenEndpoint

The URL for the Oracle Identity Cloud Service token endpoint.

For example:

https://IDCSservice/oauth2/v1/token/

redirectUri

The URL for the Oracle JET application callback endpoint.

For example:

http://OJETApplication:portnumber/?root=callback

clientId

The string representing the Oracle Identity Cloud Service application ID.

For example:

8dab63f5fc204a3582c80fc76ccba1e3

scope

The URL representing the Oracle Fusion Service instance.

assertionClientId

The string representing the Oracle Identity Cloud Service application ID of a confidential application.

For example:

he7323169a7743fa929d94a117b138bb

clientSecret

The string representing the Oracle Identity Cloud Service application client secret.

For example:

64f25f01-b7d7-4a50-9b30-9ea9c8967c8b

jwtToken

The URL for the Oracle JET application endpoint.

For example:

http://JWTTokensAppHost:portnumber/jwttokens

Note: This property can be left blank when loginType is set to Implicit or Basic.

serviceRequestResource

The path for service request resources.

For example:

/crmRestApi/resources/11.13.17.11/serviceRequests/

useApiGatewayService

If autonomous API Gateway service is used then set this property to True, if not, set it to False.

Possible values are True or False.

apiGatewayEndpoint

The URL endpoint for the autonomous API Gateway service.

For example:

http://APIGatewayServiceHost:8001