How do I create a Rest API application using OAuth User Assertion?
You can configure Oracle Fusion Field Service application to obtain an access token from some Identity Provider.
- Go to .
- Click Add Application.
- Select Applications using REST/SOAP API, and then specify an application name.
- Select OAuth User Assertion type of application.
-
Complete the following fields
Field Action Resource URL It is not a mandatory field. It represent the URL of OAuth 2.0 Resource Server (server which return the REST data). URL will be sent in "applications" section in "init" method in order not to hardcode the URL in the plugin. Token URL It is URL of OAuth 2.0 Authorization Server (Identity Provider) that returns an access token. In some cases OAuth 2.0 Resource Server and OAuth 2.0 Authorization Server could be on the same domain. Example: https://{idcsUrl}/oauth2/v1/token User Name Select what username will be used in assertion. "Predefined User" it is fixed username (usually applicable while testing). "Identify User based on Login" means that username is used from some user property of current logged in user (usually "Login").
Client ID Enter Client ID (from Identity Provider configuration, generated during the creation of Application in Authorization Server). Client Secret Provide Client Secret (from Identity Provider configuration, generated during the creation of Application in Authorization Server) . Scope Enter Scope (from Identity Provider configuration) - the string usually divided by space and used to restrict access. Example: urn:opc:resource:fusion:xxxxxxxx:field-service
Download Certificate Click Download Certificate to download the certificate that should be imported in Identity Provider configuration. Identity Provider will check the signature of assertion that Field Service signed by this certificate.