Fix broken SAML login from 9c00e48f

This commit is contained in:
Veovis 2022-04-12 16:50:16 +02:00
parent 098224eed1
commit bd92c5946c
No known key found for this signature in database
GPG Key ID: CEA0498990E1AA49

View File

@ -965,6 +965,7 @@ def saml_authorized():
if not current_app.config.get('SAML_ENABLED'):
current_app.logger.error("SAML authentication is disabled.")
abort(400)
from onelogin.saml2.utils import OneLogin_Saml2_Utils
req = saml.prepare_flask_request(request)
auth = saml.init_saml_auth(req)
auth.process_response()