summary refs log tree commit diff
path: root/synapse/handlers/sso.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-03-04 16:39:27 +0000
committerGitHub <noreply@github.com>2021-03-04 16:39:27 +0000
commitdf425c2c63d969778f725c9053dd93e57ee854e1 (patch)
tree7d9970706cfc2787265fbc597dd06266eba25d16 /synapse/handlers/sso.py
parentRecord the SSO Auth Provider in the login token (#9510) (diff)
downloadsynapse-df425c2c63d969778f725c9053dd93e57ee854e1.tar.xz
Prometheus metrics for logins and registrations (#9511)
Add prom metrics for number of users successfully registering and logging in, by SSO provider.
Diffstat (limited to 'synapse/handlers/sso.py')
-rw-r--r--synapse/handlers/sso.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/sso.py b/synapse/handlers/sso.py
index 8a22dab54a..6ef459acff 100644
--- a/synapse/handlers/sso.py
+++ b/synapse/handlers/sso.py
@@ -606,6 +606,7 @@ class SsoHandler:
             default_display_name=attributes.display_name,
             bind_emails=attributes.emails,
             user_agent_ips=[(user_agent, ip_address)],
+            auth_provider_id=auth_provider_id,
         )
 
         await self._store.record_user_external_id(