Open Readock opened 4 years ago
there was a problem with the proxy.config.js ... when i replace "^/modeling-service/modeling-service": ""
with "^/modeling-service": ""
it is sort of working. I also changed the Client Authenticator to jwt. So now i can create a new project and processes. But i still get this error:
Am i missing something here. Also is there no documentation on how to set keycloak up for this?
Type of issue: (check with "[x]")
Current behaviour: I feel a bit lost setting up the development server. For now i just want to test cloud modeling but i cant set it up right. When setting up the
.env
file i am supposed to replace API_HOST and OAUTH_HOST i guess. So i set up a keycloak server with a user and theACTIVITI_MODELER
role. (would be nice to see a hint that this role is needed in the readme). When i openhttp://localhost:4200
i cant create a new project. In the browser console i get:Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:4200/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-
and
main.js:13881 Error: Uncaught (in promise): Object: {"error":{"original":null,"response":{"req":{"method":"GET","url":"http://localhost:4200/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-","headers":{"authorization":"Bearer ...
Steps to reproduce the issue: clone https://github.com/activiti/activiti-modeling-app and https://github.com/Activiti/activiti-cloud-modeling-service. Setup keycloak server. My config:
API_HOST="http://localhost:8080" OAUTH_HOST="http://localhost:8180/auth/realms/test" E2E_HOST="http://localhost:4200"
Browser and version: Chrome