[Libreoffice-commits] online.git: wsd/reference.txt
Jan Holesovsky
kendy at collabora.com
Wed Sep 20 12:17:53 UTC 2017
wsd/reference.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)
New commits:
commit b57e38766aa235f63a2e241645ee954586f50db9
Author: Jan Holesovsky <kendy at collabora.com>
Date: Wed Sep 20 14:16:41 2017 +0200
Document the 'access_header' WOPI extension.
Change-Id: Ie77501144344fc0503faf100b614e181cf722685
diff --git a/wsd/reference.txt b/wsd/reference.txt
index 4d06850f..3d633f99 100644
--- a/wsd/reference.txt
+++ b/wsd/reference.txt
@@ -79,3 +79,16 @@ WatermarkText
Note that it is possible to just hide print,save,export options while still
being able to access them from WOPI hosts using PostMessage API (see loleaflet/reference.html)
+
+Alternative authentication possibility
+--------------------------------------
+
+Instead of the 'access_token', it is possible to pass an 'access_header' at
+the places where the 'access_token' would be used in the initial iframe setup.
+
+The 'access_header' can be eg. of a form
+
+ Authorization: Basic abcd1234==
+
+This header is then used in all the WOPI calls like PutFile, GetFile or
+CheckFileInfo, allowing Basic authentication to work.
More information about the Libreoffice-commits
mailing list