diff --git a/hiboo/application/social.py b/hiboo/application/social.py
index e99ad0e460ea920c9b8bc16ba6dce562aa02f487..2db479b3d8f6aaae2a97469c827811e6ef04f15b 100644
--- a/hiboo/application/social.py
+++ b/hiboo/application/social.py
@@ -47,8 +47,8 @@ class SynapseApplication(base.SAMLApplication):
         service.profile_regex = "[a-zA-Z0-9_\-./=]+"
         service.config.update({
             "application_uri": form.application_uri.data,
-            "acs": form.application_uri.data + "/saml2/authn_response",
-            "entityid": form.application_uri.data + "/saml2/metadata.xml",
+            "acs": form.application_uri.data + "/_matrix/saml2/authn_response",
+            "entityid": form.application_uri.data + "/_matrix/saml2/metadata.xml",
             "sign_mode": "response"
         })
         self.fill_service(service)