CORS Workaround
Comments
-
If you are using a front-end server that is not iframed inside of Decisions and you are trying to use Decisions flows, then you have probably hit an issue in your browser related to CORS: [url=https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS]https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS[/url]
Because of this, you will not be able to use the Decisions endpoints. Ive created a workaround for this and published it to GitHub: [url=https://github.com/jawa-the-hutt/Decisions-CORS-Proxy]https://github.com/jawa-the-hutt/Decisions-CORS-Proxy[/url]
Its a project written in C# that will allow you to create an ASP.NET WebAPI 2 endpoint that will proxy your request to the Decisions server. This endpoint is meant to be hosted on the same server as your front-end. Please read through the readme in the project for a full explanation of the issue and how to use the project.
If you have questions or problems then open an issue in the github repository and within reason, Ill try and help you.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions