External app via Bonita REST API?

Is it possible to access Bonita REST API through an external application? (On a different Server and Port ej. Ruby on Rails or Django app)

I’ve already tried to to this with ngBonita however there is a problem when trying to consume the cookie in “Set-cookie” header from a different domain.

Has anyone tried something similar?

Yo he resuelto ese problema con la inclusión de filtros en el tomcat origen (Fichero: \workspace\tomcat\webapps\bonita\web-inf\web.xml), pero ahora tengo un problema de autorización, para cualquier consulta al a API me devuelve un 401
/

CorsFilter
org.apache.catalina.filters.CorsFilter

cors.allowed.origins



cors.allowed.methods
GET,POST,HEAD,OPTIONS,PUT


cors.allowed.headers
Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers


cors.support.credentials
true



CorsFilter
/