Internally at CloudCannon, we use G Suite to manage all of our emails. This allows us to work together on products like Google Drive and Google Meet. When a new member joins our team, they need to access all of the relevant documentation. Some of our internal documentation is as you’d expect, a Jekyll site hosted on CloudCannon. This site is only accessible to people within our organisation using Google authentication. When a staff member leaves, we disable their email and the internal documentation is restricted to them once again. This blog post will guide you through the process of adding Google Authentication to one of your CloudCannon sites.
Once you have your site ready to go, we will need to add authentication to the site. To achieve this, we will need to go to the G Suite Admin console.
Select SAML apps
Here will be a list of existing SAML applications. Click the yellow plus in the bottom right of the screen.
Click SETUP MY OWN CUSTOM APP.
Here some information is provided. Save the SSO URL and Download the Certificate. Once you have those saved click NEXT.
You can now customise your App with a name, description and logo. Take care to add this information as you will be unable to update this point. Once completed click NEXT.
Now we need to add the CloudCannon specific information. Below are the details for a site at example.com. Replace example.com with the domain name of your site.
|ACS URL *||https://example.com/login/consume|
|Entity ID *||cloudcannon.com|
|Name ID||Basic Information, Primary Email|
|Name ID Format|
Once the information is correct, click NEXT. On the next slide, click FINISH.
Open CloudCannon at your site, visit Site Settings / Authentication and select SAML Authentication.
In here you will need to paste the following information:
Scroll down and click “Update SAML Configuration”.
🎉 Congratulations, your site is now restricted to your team members in your Google organisation. Try visiting your site and logging in. Reach out to support if you have any questions.