Page 1 of 1

How to connect Document server using token?

PostPosted: Thu Aug 24, 2017 12:55 pm
by smrekca
Hello,

I'm new to this forum, I just hope you'll be able to help me.

I have Document server and Community server installed each on its own virtual machine. I'm using Ubuntu 16.04 on both servers. I installed everthing manually - didn't use docker or any script.
Everything is working great (I can even open and edit documents from inside Community server).

But if I want to use token (using this instructions: https://api.onlyoffice.com/editors/signature), to secure communication between servers then I can't open or edit documents any more - I get an error "The document security token is not correctly formed. Please contact your Document Server administrator.".

So what do I need to do on the Community server side to enable this token - how to even create token? I've been searching for solution online for several days now and couldn't find one.

For example - I also have owncloud server installed and I'm using the same Document server. And if I set up this token on Document server, I have the ability to enter key inside owncloud - I dont have this option on Community server.

Please help!

Thanks, smrekca

Re: How to connect Document server using token?

PostPosted: Fri Aug 25, 2017 7:48 am
by Maxim
Hello smrekca!
We have already implemented this feature for the Community Server but it's on testing period now. As test ends we will prepare the documentation how to implement it.

Re: How to connect Document server using token?

PostPosted: Fri Aug 25, 2017 8:04 am
by smrekca
Thanks!

Just a rough estimate - this testing and documentation will be done in more or less then a month, and where will I wind this documentation?

Smrekca.

Re: How to connect Document server using token?

PostPosted: Mon Aug 28, 2017 2:31 pm
by Alexander_mb
Hello Smrekca,

This feature is being tested now on the Enterprise Edition. All the documentation will be soon available in our Help Center.

Re: How to connect Document server using token?

PostPosted: Sat Jun 02, 2018 5:13 pm
by logicexpertise
Alexander_mb wrote:This feature is being tested now on the Enterprise Edition. All the documentation will be soon available in our Help Center.

Could you please give the link to the documentation for this feature.
Alternatively, give instructions on how to configure the secret in Community Server.

Thanks

Re: How to connect Document server using token?

PostPosted: Mon Jun 04, 2018 2:21 pm
by logicexpertise
I've found how to connect to Document Server using Token:
In the Community Server web config file web.appsettings.config, change the value for the files.docservice.secret key to the secret you set in Document Server config:

<add key="files.docservice.secret" value="doc server secret" />

Then restart Community Server.

You'll be able to open documents in the Document Server editor.

However, co-editing doesn't seem to work. A user only sees changes made by them, not those by other users.

Any idea how to fix that?

Re: How to connect Document server using token?

PostPosted: Tue Jun 05, 2018 6:39 am
by logicexpertise
logicexpertise wrote:However, co-editing doesn't seem to work. A user only sees changes made by them, not those by other users.

Actually, the integration works as expected. I was testing incorrectly.

All good now.