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.
- The standard login with an OfficeRnD Flex user and password
- The "Reset password" links in OfficeRnD Flex
- The token for authentication that employees receive when invited to the Members Portal.
Members Portal SSO
Navigate to https://console.developers.google.com/?pli=1
Click Create Project and enter the project details - Name, Organization, and Location.
- Navigate 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.
Navigate 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.
- Navigate 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:
- Enable Automatic Account Activation - With this setting enabled, employees that 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.
- Click Update.
Admin Portal SSO
After you have configured the Members Portal SSO, you can add your Admin Portal SSO as well.
- Head 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 on your project's 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.