diff --git a/matrix_synapse_saml_mozilla/username_picker.py b/matrix_synapse_saml_mozilla/username_picker.py index 7990d4b..3945e30 100644 --- a/matrix_synapse_saml_mozilla/username_picker.py +++ b/matrix_synapse_saml_mozilla/username_picker.py @@ -179,7 +179,7 @@ class SubmitResource(AsyncResource): path=b"/", ) - self._module_api.complete_sso_login( + await self._module_api.complete_sso_login_async( registered_user_id, request, session.client_redirect_url,