summary refs log tree commit diff
path: root/synapse/rest/client/openid.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/openid.py')
-rw-r--r--synapse/rest/client/openid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/openid.py b/synapse/rest/client/openid.py
index 4dda6dce4b..add56d6998 100644
--- a/synapse/rest/client/openid.py
+++ b/synapse/rest/client/openid.py
@@ -69,7 +69,7 @@ class IdTokenServlet(RestServlet):
         self.auth = hs.get_auth()
         self.store = hs.get_datastore()
         self.clock = hs.get_clock()
-        self.server_name = hs.config.server_name
+        self.server_name = hs.config.server.server_name
 
     async def on_POST(
         self, request: SynapseRequest, user_id: str