-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
SAML auth needs doc #5764
Comments
For the record, the existing doc is synapse/docs/sample_config.yaml Line 991 in b4fd86a
Our impl is quite a thin wrapper around pysaml2, so the best bet for documentation is to look there: https://pysaml2.readthedocs.io/en/latest/howto/config.html#howto-config. Obviously it wouldn't be practical to replicate all of that. I can see that there might be scope for better documentation of how to integrate with certain IdP impls, but given that we don't use AD ourselves, I wouldn't really be confident writing such a thing so I guess we'd be looking for community contributions (and I would be worried maintaining such a thing). |
see #5130 (comment) for @slipeer's notes on AD |
@ara4n, AD (Active Directory) <> AD FS (Active Directory Federation Service) But this guide also has some flaws: it describes setting up additional attributes that synapse doesn’t actually use (mail, givenname, surname).
There is a lack of information about the attributes and format needed for Synapse! I suppose it is necessary to bring up in one document the actual information from all these sources on how to set it up SAML2 for Synapse. |
Hello, When we use an IDP like keycloak and using sso login method with riot/synapse, how can we use information like email or phone to auto fill a profile ? I ve got display name but no threepid info like email. (mxids login/auth endpoint is bypassed). |
@volvicoasis can you please share configuration details on how you've managed to fetch display name from Keycloak? I am trying the same config (keycloak + SAML2) and able to login, but no information is displayed in riot - say no printable name instead of userid. However, in synapse logs I clearly see 'displayName' fetched from Keycloak, but it does not appear in riot. |
I as well am having trouble getting everything configured properly in Keycloak. It would be great if someone more familiar with the underlying systems could give a write up. I followed the instructions here: But that does give any info on how to populate emails or other attributes. |
Thank you @richvdh for helping me with synapse & SAML. I ended up following parts of the edenmal.moe guide and using this for synapse config:
|
We've got basic SAML-Authentication working (with Shibboleth as IdP). 🎉 Where we struggle is restricting which users should be allowed to log in. (e.g. only users where the Attribute Update: my request was solved by #8052 (delivered in 1.13). Thanks - you are awesome! <3 |
Is there anyone who successfully connected synapse to shibboleth and could share the configuration and or documentation on how they made it work? Maybe @hex-m … seems you’re the only one who mentioned shibboleth in all of synapse’s issues. |
Hello! I am trying to setup Keycloak as a IdP (Identity Provider) and Synapse as a service. I want to setup Keycloak as to present a SSO (single-sign-on) page. I am running a Linux-Server. What is the correct configuration? Keycloak will be running as http://domain.ddns.net:8008 (via docker) |
@Podolyan98 keycloak supports OpenID Connect, no need to use SAML: https://github.com/matrix-org/synapse/blob/master/docs/openid.md#keycloak |
@ptman how to set up Keycloak and Synapse correctly? Can you share some documentation or guides? Thanks in advance. |
@Podolyan98 I'd suggest joining #synapse:matrix.org for help in configuring Synapse. The documentation linked to above includes what settings to tweak in Synapse to configure this though. |
Particularly for integration with
ADADFS, according to #5130 (comment)The text was updated successfully, but these errors were encountered: