1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457

2) Fixed incorrect log information for AUTHENTICATION_SOURCES. Fixes #5829
This commit is contained in:
Khushboo Vashi authored and Akshay Joshi committed 2021-01-18 16:32:10 +05:30
1 parent a60cfd3cc3
commit c0ef0a893d
28 files changed
+502 -46

No files matched your search

@@ -101,7 +101,8 @@ class TestClient(testing.FlaskClient):
return csrf_token
def login(self, email, password, _follow_redirects=False):
def login(self, email, password, _follow_redirects=False,
headers=None):
if config.SERVER_MODE is True:
res = self.get('/login', follow_redirects=True)
csrf_token = self.fetch_csrf(res)
@@ -113,7 +114,8 @@ class TestClient(testing.FlaskClient):
email=email, password=password,
csrf_token=csrf_token,
),
follow_redirects=_follow_redirects
follow_redirects=_follow_redirects,
headers=headers
)
self.csrf_token = csrf_token