In this article, you'll learn how to set up Single Sign-On (SSO) authentication with Custom Google Domain. The SSO can be implemented for both the Members and the Admin Portals.
Members Portal SSO
Click Create Project and enter the project details - Name, Organization, and Location.
Click Create.
Go to the OAuth consent screen and choose how you want to configure and register your app, including your target users.
Start by choosing the User Type as External or Internal and click Create.
Set the Application Name to OfficeRnD Flex and complete the configuration.
Go to Credentials and click Create Credentials. Choose OAuth client ID from the menu.
Select Application Type: Web application and set a Name
Open your OfficeRnD Flex account in a separate browser tab.
Go to Settings > Integrations.
Expand Authentication, head to SSO Authentication, and click Activate. After activation, click Configure.
Copy the Return URL and go back to the Redirections page in the Google Cloud Platform.
Find the Authorized redirect URIs section and click Add URI. Paste the Return URL you copied in Step 12 and click Create.
A confirmation window pops up with the Client ID and Client Secret.
Copy the Client ID and navigate to the OfficeRnD Flex SSO configuration window. Paste the value in the Client ID field.
Copy the Client Secret and navigate to the OfficeRnD Flex SSO configuration window. Paste the value in the Client Secret field.
Next, we need to set the Discovery URL on the OfficeRnD Flex side, in the SSO Authentication configuration. You can follow this article to get the Discovery URL, or you can copy the URL below and enter it in the Discovery URL field:
https://accounts.google.com/.well-known/openid-configuration
Enable Automatic Account Activation - With this setting enabled, employees who already exist in OfficeRnD Flex will be allowed to log into the Portals without needing to be explicitly invited.
If this setting is disabled, employees without prior access to the Portals will need to have it Enabled by an administrator.Turn Off Password Login - This setting enforces SSO login and prevents members from logging in with email and password. If it's left unchecked, members will have the option to use SSO or a normal email/password login.
Enabling Turn Off Password Login of the SSO for Member Tools disables:
- The standard login with OfficeRnD user and password
- The Public Calendar Page and Sign-up Page
- Reset password links
- Token for auth in the invite to portal email (Welcome email)Click Update.
Admin Portal SSO
After configuring the Members Portal SSO, you can also add your Admin Portal SSO.
Go to Settings > Integrations > Authentication.
Find Admins SSO Authentication and click Activate. Next, click Configure.
Copy the Return URL.
Open your newly created project in Google and switch to the Credentials section.
Open the OAuth 2.0 Client IDs section by clicking your project name.
Under the Authorized Redirect URIs click Add URL.
Paste the copied Return URL and save the changes.
In OfficeRnD Flex, enter the Client ID, Client Secret, and Discovery URL. You may have obtained these while setting up SSO for Web Portals (Steps 14 and 15). They also appear when entering an Authorized Redirect URL for the first time.