From a520e78b000ab2dd86798c658add0f4ab4687ee8 Mon Sep 17 00:00:00 2001
From: kaiyou <pierre@jaury.eu>
Date: Wed, 29 Apr 2020 20:04:45 +0200
Subject: [PATCH] Switch to basic authentication for Seafile

---
 hiboo/application/storage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hiboo/application/storage.py b/hiboo/application/storage.py
index 81faf1b4..8cd9055f 100644
--- a/hiboo/application/storage.py
+++ b/hiboo/application/storage.py
@@ -47,7 +47,7 @@ class SeafileApplication(base.OIDCApplication):
         callback_uri = form.application_uri.data + "/oauth/callback"
         service.config.update({
             "application_uri": form.application_uri.data,
-            "token_endpoint_auth_method": "client_secret_post",
+            "token_endpoint_auth_method": "client_secret_basic",
             "redirect_uris": [callback_uri],
             "grant_types": ["authorization_code"],
             "response_types": ["code"],
-- 
GitLab