Accessing OAuth supported API
When Oracle Fusion Field Service acts as a client to access an external API secured with OAuth 2.0, it needs to obtain an access token. The method of obtaining this token depends on the OAuth 2.0 grant type supported by the target API and the capabilities of how Oracle Fusion Field Service (or its plugins/integrations) can interact with the authorization server.
If a plugin requires access to an API other than the Oracle Fusion Field Service API, these are the supported authorization flows:
- OAuth Authorization Code Grant Flow (OAuth Authorization Code Flow – getAuthorizationCode Procedure)
- OAuth User Assertion Grant Flow (OAuth User Assertion Flow (getAccessToken procedure))
- OAuth Client Credentials Grant Flow (OAuth Client Credentials Flow (getAccessToken procedure) )
Let's look at each of these in detail.