External app via Bonita REST API?

1
0
-1

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?

1 answer

1
0
-1

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.methodsGET,POST,HEAD,OPTIONS,PUT
cors.allowed.headersContent-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers
cors.support.credentialstrue


CorsFilter
/

Notifications