The Google Sign-In Authentication is a useful function that allows your users to sign in to Legal Office with their Google account.
This is particularly helpful if your organization uses Google Workforce and you want the employees within your organization to connect to Legal Office with their Google Accounts.
The integration of the Google sign-in function requires configuration both on Google and on Legal Office.
Go to the Google API Dashboard.
Make sure the right project is opened. If you don’t have a project yet, click on Create Project, fill out the project name and other details of your company, and click on Create.
Choose the name of your own company from the drop-down menu.
On the left side menu, click on OAuth consent screen.
Choose one of the options (Internal / External) as instructed, and click on Create.
Fill out your details and domain info, then click on Save and Continue.
On the Scopes page, leave all fields as is, and click on Save and Continue.
On the left side menu, click on Credentials.
Click on Create Credentials and select OAuth client ID.
Select Web Application as the Application type. Now configure the allowed pages on which you will be redirected.
In order to achieve this, in the Authorized redirect URIs field, enter your database’s domain immediately followed by /auth_oauth/signin. For example: https://mydomain.legaloffice.app/auth_oauth/signin, then click on Create.
Once you have done the previous steps, two keys are generated on the Google API Dashboard: Client ID and Client Secret. Copy the Client ID.
Go to Legal Office General Settings ‣ Integrations and activate OAuth Authentication.
You may have to log in again after this step.
Go back to General Settings ‣ Integrations, activate Google Authentication, then fill out the Client ID with the key from the Google API Dashboard, and Save.
To link your Google account to your Legal Office profile, click on Log in with Google when you are asked to choose a new password.
Existing users must reset their password to access the reset password page, while new users can directly click on Log in with Google instead of choosing a new password.