Configuring Google Workspace SAML Login Estimated Reading Time: 3 Minutes Google Workspace provides a Security Assertion Markup Language (SAML) service so you can use the same username and password across different web applications. To begin using Google Workspace to log into Ubersmith, you need to have an account with Google already established.The configuration steps are as follows:Configure a Google Workspace SAML application.Generate a service provider key and certificate.Configure Ubersmith.Configuring the Google Workspace SAML ApplicationFrom the Google Workspace Admin console, add a custom SAML application using the configurations below. See Google's guide for more information. Complete App DetailsFor App Name, enter Ubersmith.For App Icon, attach an optional logo of your choosing.Click Continue.Copy Google Identity Provider DetailsCopy the SSO URL, Entity ID, and Certificate provided by Google. This information will be needed later.Click Continue.Complete App DetailsFor Assertion Consumer Service (ACS) URL, enter https://[YOUR UBERSMITH DOMAIN].For Entity ID, enter https://[YOUR UBERSMITH DOMAIN].For Start URL, leave this optional field empty.Select the Signed Response option.For NAME ID format, choose EMAIL.For NAME ID choose Basic Information > Primary Email.Click Continue.Complete Attribute MappingFor Employee Details > Department, enter the word DEPARTMENT.For Basic Information > Primary email, enter the word EMAIL.For Basic Information > First name, enter the word FIRST.For Basic Information > Last name, enter the word LAST.Click Finish.Generating a Service Provider Key and Certificate In the directory /usr/local/ubersmith/conf/sso, enter the following commands to create your service provider key and certificate. $ openssl dsaparam -out saml_sp_dsa_param.pem 4096 $ openssl gendsa -out saml_sp.pem saml_sp_dsa_param.pem $ openssl req -new -x509 -key saml_sp.pem -out saml_sp.crtConfiguring UbersmithAccess the User Authentication page.From the Authentication Modules section, click Add New Authentication Module.Complete the Details TabIn the Enabled field, select Yes to enable a specific authentication module.In the Module field, select SAML.In the Priority field, enter the order of priority in which server to use to authenticate users.Select the Create User on Login field to create a new user upon their first login attempt.Complete the Config TabClick the Config tab.In the ID Provider (IdP) field, enter the SSO URL provided by Google.In the IdP Name field, enter Google Workspace.In the IdP Icon field, enter https://workspace.google.com/static/favicon.ico.In the IdP Signon URL field, enter the SSO URL provided by Google.In the IdP Logout URL field, enter https://[YOUR UBERSMITH DOMAIN]/logout.php.In the IdP x509 Certificate field, paste your Google Workspace certificate.In the Ubersmith "Login Name” Attribute Name field, enter the word EMAIL.In the First Name Attribute Name field, enter the word FIRST.In the Last Name Attribute Name field, enter the word LAST.In the Email Address Attribute Name field, enter the word EMAIL.In the Permission Group Attribute Name field, enter the word DEPARTMENT.In the Service Provider (SP) Entity ID field, enter https://[YOUR UBERSMITH DOMAIN].In the SP x509 Certificate field, copy and paste the certificate you previously generated in the Generate a Service Provider Key and Certificate above.In the SP x509 Private Key field, copy and paste the private key you previously generated in the Generate a Service Provider Key and Certificate above.NoteYou can map permission groups from the Google Workspace to Ubersmith. See Editing Access for Authentication Modules.