Ask a how-to resolve this problem
Document Server version: 7.3.3
Connector version: 6.1
Alfresco version: 6.1
OS: Docker
Updated documentserver from 5.5.3 to 7.3.3
And I want to configure the jwt token to work
I’ve added these items to the docker compose
- JWT_ENABLED=true
- JWT_SECRET=secret
- JWT_HEADER=Authorization
- JWT_IN_BODY=true
In alfresco-global.properties, I added this variable
onlyoffice.jwtsecret=secret
I have not found any errors in the alfresco logs
There is an error like this in the documentserver logs
[2023-04-27T12:42:42.000] [WARN] [localhost] [39eaf4b9-4d96-4604-9ce6-2682d164de69_20180302113230] [userId] nodeJS - checkJwt error: name = JsonWebTokenError message = jwt must be provided token = undefined
With JWT_ENABLED=false everything works