1. ZenGRC Sign-in
If there are multiple options for logging into your ZenGRC instance, make sure to select Sign in with Email.
2. Go to Settings
In the left-hand navigation, click Settings | Authentication.
3. Keep SAML Unselected
If you are setting up SAML for the first time, the SAML checkbox will be unchecked.
Do not select it until you've gone through all steps in this tutorial.
Note: The Debug Mode toggle in the screenshot above will display helpful debug information on failed attempts to log into ZenGRC via SSO.
It should be enabled only when troubleshooting issues with your SAML/SSO configuration.
4. Edit/Configure Settings
Click Edit Settings (or, if you're setting up SAML for the very first time in ZenGRC, this button may say Configure instead of Edit Settings).
5. Obtain Metadata
All IdPs require certain metadata about the service provider application, and depending on the specific IdP there are three possible ways to provide that metadata.
If you aren’t sure which method your organization’s IdP supports, then complete the steps for all three options and include all of the resulting artifacts in the package you provide to your IdP administrator.
→ Option 1 - Metadata URL
→ Option 2 - Metadata File
→ Option 3 - Copy-and-Paste the Metadata
6. Download Metadata File
In order to validate the authenticity of authentication requests that claim to be coming from a trusted service provider, IdPs compare those requests against an encrypted certificate from the service provider application.
ZenGRC provides this certificate in the metadata collected above, however, some IdPs (e.g. Okta) require that this encrypted service provide certificate be uploaded into the IdP separately from the metadata.
If you aren’t sure whether your organization’s IdP requires that the certificate be uploaded separately, go ahead and download it now and include it with the artifacts that you're gathering for your IdP administrator.
Your IdP administrator will know whether it’s required, and if it turns out that it is, you’ll have saved yourself a step by downloading it right now.
At this point, you should have only one certificate available in ZenGRC. To download the certificate, click the ellipsis to the right of the certificate and select Download.
7. SAML Settings Screenshot
Click the Advanced Settings tab and take a screenshot of ZenGRC’s default SAML advanced settings.
These settings default to the most common values, but your IdP administrator might ask you to modify them after reviewing them.
It’s recommended you take this screenshot directly from your ZenGRC instance rather than from this documentation.
8. Confirm all data collected
Collect everything you’ve generated in the prior steps and provide it to your IdP administrator along with a link to these setup instructions.
This package should now include:
ZenGRC metadata (in the form of a metadata URL, the downloaded metadata XML file, and/or a text file you created manually by copying/pasting)
ZenGRC certificate (if you think it might be required by your IdP)
Screenshot of Advanced Settings