Monday, September 4, 2017

CORS Support in Oracle Process Cloud Service

The latest August 2017 release has announced the long awaited support of Oracle Process Cloud Service embeddable components and REST APIs in CORS.

CORS stands for Cross-Origin Resource Sharing and it is a mechanism that allows restricted resources  on a web page to be requested from another domain outside the domain from which the first resource was served [1].

CORS is especially useful with REST services since in most of the cases, you will have a REST endpoint residing in a dedicated "API" domain. A very common scenario is consuming one of the Oracle PCS REST APIs from a completely different "client" domain.

Without Oracle's PCS support in CORS this would not have been possible.

Another very powerful feature that has been around in Oracle PCS is the ability to embed Oracle PCS functionality in external applications in the form of jQuery widgets.

The following functionality is exposed as jQuery components:

  • Details
  • Start Application
  • Start Form
  • Attachments
  • Comments
  • Conversations

All these components provide support for Cross-Origin Resource Sharing (CORS), meaning you can consume them from external domains, not required to have your external applications hosted on the same domain as Oracle Process Cloud Service.


No comments:

Post a Comment