Login using WordPress Users ( WP as SAML IDP ) plugin gives you the ability to use your WordPress credentials to log into RocketChat. Here we will go through a step-by-step guide to configure SSO between RocketChat as Service Provider and WordPress as an Identity Provider.
Note: Premium Version is required to set up SSO to RocketChat.
Custom Provider | <name-of-your-app> |
Custom Entry Point | Copy and paste the SAML Login URL from IDP Metadata tab |
IDP SLO Redirect URL | Copy and paste the SAML Logout URL from IDP Metadata tab |
Custom Issuer | https://<your-rocketchat-url>/_saml/metadata/<name-of-your-app> |
Public Cert Contents | (a) Open the Public Cert Contents dropdown (b) Download the Certificate from IDP Metadata. Open it in notepad. Copy and paste the content here. |
Signature Validation Type | Validate Either Signature |
User Data Field Map | Open the User Data Field Map dropdown and enter the following attributes: {"username":"username", "email":"email", "name": "cn"} |
Note: Custom Provider = <name of your app> e.g. my-app
Service Provider Name | RocketChat |
SP Entity ID or Issuer | https://<your-rocketchat-url>/_saml/metadata/<name-of-your-app> |
ACS URL | https://<your-rocketchat-url>/_saml/validate/<name-of-your-app> |
NameID Format | urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified |
Assertion Signed | Check to sign the SAML Assertion. |
cn | first_name |
user_email | |
username | user_login |