From eb4fbb70fd44baff8c767775f8412d040511fb34 Mon Sep 17 00:00:00 2001
From: DMRobertson config_path
.
This setting has the following sub-options:
idp_name
: A user-facing name for this identity provider, which is used to
+offer the user a choice of login mechanisms.idp_icon
: An optional icon for this identity provider, which is presented
+by clients and Synapse's own IdP picker page. If given, must be an
+MXC URI of the format mxc://<server-name>/<media-id>
. (An easy way to
+obtain such an MXC URI is to upload an image to an (unencrypted) room
+and then copy the "url" from the source of the event.)idp_brand
: An optional brand for this identity provider, allowing clients
+to style the login flow according to the identity provider in question.
+See the spec for possible options here.sp_config
: the configuration for the pysaml2 Service Provider. See pysaml2 docs for format of config.
Default values will be used for the entityid
and service
settings,
so it is not normally necessary to specify them unless you need to
@@ -2798,7 +2808,7 @@ offer the user a choice of login mechanisms.
idp_icon
: An optional icon for this identity provider, which is presented
by clients and Synapse's own IdP picker page. If given, must be an
-MXC URI of the format mxc://mxc://<server-name>/<media-id>
. (An easy way to
obtain such an MXC URI is to upload an image to an (unencrypted) room
and then copy the "url" from the source of the event.)
client_secret
: oauth2 client secret to use. May be omitted if
-client_secret_jwt_key
is given, or if client_auth_method
is 'none'.
client_secret_jwt_key
is given, or if client_auth_method
is 'none'.
+Must be omitted if client_secret_path
is specified.
+client_secret_path
: path to the oauth2 client secret to use. With that
+it's not necessary to leak secrets into the config file itself.
+Mutually exclusive with client_secret
. Can be omitted if
+client_secret_jwt_key
is specified.
Added in Synapse 1.91.0.
client_secret_jwt_key
: Alternative to client_secret: details of a key used
@@ -3042,6 +3060,16 @@ Has the following sub-options:
enabled
: Set this to true to enable authorization against a CAS server.
Defaults to false.idp_name
: A user-facing name for this identity provider, which is used to
+offer the user a choice of login mechanisms.idp_icon
: An optional icon for this identity provider, which is presented
+by clients and Synapse's own IdP picker page. If given, must be an
+MXC URI of the format mxc://<server-name>/<media-id>
. (An easy way to
+obtain such an MXC URI is to upload an image to an (unencrypted) room
+and then copy the "url" from the source of the event.)idp_brand
: An optional brand for this identity provider, allowing clients
+to style the login flow according to the identity provider in question.
+See the spec for possible options here.server_url
: The URL of the CAS authorization endpoint.displayname_attribute
: The attribute of the CAS response to use as the display name.
If no name is given here, no displayname will be set.show_locked_users
: Defines whether to show locked users in search query results. Defaults to false.
Example configuration:
user_directory:
enabled: false
search_all_users: true
prefer_local_users: true
+ show_locked_users: true
user_consent