summary refs log tree commit diff
path: root/synapse/config/jwt.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/jwt.py')
-rw-r--r--synapse/config/jwt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/jwt.py b/synapse/config/jwt.py

index b41f2dc08f..5c76551f33 100644 --- a/synapse/config/jwt.py +++ b/synapse/config/jwt.py
@@ -38,6 +38,7 @@ class JWTConfig(Config): self.jwt_algorithm = jwt_config["algorithm"] self.jwt_subject_claim = jwt_config.get("subject_claim", "sub") + self.jwt_display_name_claim = jwt_config.get("display_name_claim") # The issuer and audiences are optional, if provided, it is asserted # that the claims exist on the JWT. @@ -49,5 +50,6 @@ class JWTConfig(Config): self.jwt_secret = None self.jwt_algorithm = None self.jwt_subject_claim = None + self.jwt_display_name_claim = None self.jwt_issuer = None self.jwt_audiences = None