Hello there!

Need Help? We are right here!

Support Icon
miniOrange Email Support
success

Thanks for your Enquiry. Our team will soon reach out to you.

If you don't hear from us within 24 hours, please feel free to send a follow-up email to info@xecurify.com

Search Results:

×

Configure Google Workspace as SAML or OAuth IDP for SSO


miniOrange Identity Broker service solution enables cross protocol authentication. You can configure Google Workspace as an IDP for Single Sign-On (SSO) into your applications/websites. Here, Google Workspace will act as an Identity Provider (IDP) and miniOrange will act as a broker.

We offer a pre-built solution for integrating with Google Workspace, making it easier and quick to implement. Our team can also help you set up Google Workspace as SAML or OIDC IDP to login into your applications.


Get Free Installation Help


miniOrange offers free help through a consultation call with our System Engineers to configure SSO for different apps using Google Workspace as an IDP in your environment with 30-day free trial.

For this, you need to just send us an email at idpsupport@xecurify.com to book a slot and we'll help you in no time.



Prerequisites

Please make sure your organisation branding is already set under Customization >> Login and Registration Branding in the left menu of the dashboard.


Follow the Step-by-Step Guide given below for Google Workspace Single Sign-On (SSO)

1. Configure miniOrange as SP in Google Workspace

Mentioned below are steps to configure Google Workspace as IDP via SAML and OAuth configuration. Follow the steps accordingly based on your requirement (SAML or OAuth).


  • Go to miniOrange Admin console and navigate to Identity Providers in the left navigation menu. Then, click on Add Identity Provider button.


  • Now click on the Click here link to get miniOrange metadata as shown in Screen below.
  • Google Workspace as IDP : get miniorange metadata

  • For SP -INITIATED SSO section Select Show Metadata Details.
  • Google Workspace as IDP : SP intiated Metadata

  • Click on Download Metadata
  • Google Workspace as IDP : SAML attributes

  • Go to https://admin.google.com and login with your G Suite administrator account.
  • Navigate to the Apps tab in the left menu and click on Web and mobile apps.
  • Google Apps Single Sign-On (SSO)

  • Click on the Add App button, then in the dropdown select Add Custom SAML app tab to create a new saml app.
  • SSO with Google Workspace

  • Enter details for your custom SAML app and click on Continue button.
  • Google Workspace Single Sign-On (SSO)

  • Click on Download Metadata button. This will be used for configuring your Service Provider in miniOrange (Step 1.).
  • You can also copy G Suite details like SSO URL, entity ID and Certificate to configure the Service Provider manually and then click on Continue button.
  • Configure Google Apps as IDP - SAML Single Sign-On(SSO) for WordPress - Google workspace Single Sign-On (SSO)

  • Click on Continue button.
  • Google Apps Single Sign On (SSO)

  • Click on Add Mapping button.
  • Single Sign-On (SSO) with Google Workspace

  • Add and select user fields in Google Directory, then map them to Service Provider attributes and Click on Finish button.
  • Google workspace SSO setup

  • Select ON for everyone to activate SSO.
  • Single Sign-On for Google Workspace

    • Go to https://console.developers.google.com/ and sign up/login.
    • Click on Select Project to create a new Google Apps Project,you will see a popup with the list of all your projects.
    • Google Apps GSuite SSO miniOrange Broker Service create new project

    • You can click on the New project button to create new project.
    • Google Apps GSuite SSO miniOrange Broker Service create new project

    • Enter your Project name under the Project Name field and click on Create.
    • Google Apps GSuite SSO miniOrange Broker Service enter project name

    • Go to Navigation MenuAPIsServicesCredentials.
    • Google Apps GSuite SSO miniOrange Broker Service credentials

    • Click on Create Credentials button and then select OAuth Client ID from the options provided.
    • Google Apps GSuite SSO miniOrange Broker Service OAuth client id

    • In case you are facing some warning saying that in order to create an OAuth Client ID, you must set a product name on consent screen (as shown in below image). Click on the Configure consent screen button.
    • Google Apps GSuite SSO miniOrange Broker Service configure consent screen

    • Enter the required details such as App Name, User Support Email. and click on Save and Continue button.
    • Google Apps GSuite SSO miniOrange Broker Service save settings

      Google Apps GSuite SSO miniOrange Broker Service save settings

    • Now for configuring scopes, click on Add or Remove the Scopes button.
    • Google Apps GSuite SSO miniOrange Broker Service create oauth client id

    • Now, Select the Scopes to allow your project to access specific types of private user data from their Google Account and click on Save and Continue button.
    • Google Apps GSuite SSO miniOrange Broker Service create oauth client id

    • Go to the Credentials tab and click on Create Credentials button. Select Web Application from dropdown list to create new application.
    • Google Apps GSuite SSO miniOrange Broker Service create oauth client id

    • Enter the name you want for your Client ID under the name field and enter the Redirect/Callback URL that we saved in the Step 1 and click on the Create button.
    • Google Apps GSuite SSOMiniOrange Broker Service create oauth client id

    • You will see a popup with the Client ID and Client Secret Copy your Client ID and Client Secret.
    • Google Apps GSuite SSO miniOrange Broker Service client id client secret

    • You have successfully completed your Google App OAuth Server side configurations.

    2. Configure Google Workspace as an Identity Provider in miniOrange


    • Go to miniOrange Admin Console .
    • From the left navigation bar select Identity Provider.
    • Click on Add Identity Provider button.
    • Google Workspace SSO-Select identity provider

    • Select SAML. Click on Import IDP metadata.
    • Google Workspace SSO-Select SAML

    • Choose an appropriate IDP name. Enter the URL which you have saved in the previous step from Google Workspace.
    • Click on Import.
    • Configuring Google Workspace as IdP: Google Workspace Import

    • As shown in the below screen the IDP Entity ID, SAML SSO Login URL and x.509 Certificate will be filled from the Metadata file we just imported.
    • Configuring Google Workspace as IdP : SAML SSO Login URL and x.509 Certificate

    • Click Save

      Follow the steps to configure Google Workspace as IdP by OAuth configuration.

    • Go to miniOrange Admin Console.
    • From the left navigation bar select Identity Provider. Select Oauth
    • Google Workspace Single Sign-On (SSO)

      Google Workspace SSO

    • Enter the following values.
    • IdP Name Custom Provider
      IdP Display Name Choose appropriate Name
      OAuth Authorize Endpoint https://{your-base-url}/as/authorization.oauth2
      OAuth Access Token Endpoint https://{your-base-url}/as/token.oauth2
      OAuth Get User Info Endpoint (optional) https://{your-base-url}/idp/userinfo.oauth2
      Client ID From step 1
      Client secret From step 1
      Scope openid email profile

    3. Test Connection

    • Visit your Login Page URL.
    • Go to Identity Providers tab.
    • Click on Select >> Test Connection option against the Identity Provider (IDP) you configured.
    • Google Workspace-IDP-TestConnection

    • On entering valid Google Workspace credentials (credentials of user assigned to app created in Google Workspace), you will see a pop-up window which is shown in the below screen.
    • SucessTestConn-Google Workspace-IDP

    • Hence your configuration of Google Workspace as IDP in miniOrange is successfully completed.

    Note:

    You can follow this guide, if you want to configure SAML/WS-FED, OAuth/OIDC, JWT, Radius etc


    Configure Attribute Mapping

    • Go to Identity Providers >> View Identity Providers >> Your configured Google Workspace as IdP.
    • Now click on Select and then Configure Attribute Mapping of your application.
    • Google Workspace Single Sign-On SSO Select and Configure Attribute Mapping

    • Under Attribute Type - EXTERNAL for the external attributes that need to be transformed and sent to applications or service providers.
    • Click on the + Add Attribute button to add the attribute fields.
    • Google Workspace Single Sign-On SSO Map External Attribute

    • Check attributes in test connection window from last step. Enter the attribute names (any name) that you want to send to your application under Attribute Name sent to SP.
    • Enter the value of attributes that are coming from IdP into the Attribute Name from IdP field on the Xecurify side.

    Setup Multiple IDPs (Optional)

    • You can configure multiple IDPs (Identity Providers) and give users the option to select the IDP of their choice to authenticate with.
      For Example - It could be multiple AD domains belonging to different departments or multiple okta organizations.
    • Few usecases where customers configure multiple IDPs -

    • Suppose you have a product which many of your clients use and each client has their own unique IDP so you want them to SSO into your product as well using their existing IDP only. miniOrange provides a centralized way to connect with all IDPs in a very easy manner and integrate SSO into your application.
    • Suppose you are providing a course to many universities, each having a unique SAML, OAuth protocol supported IDP's like Shibboleth, ADFS, CAS, etc. You can provide Single Sign-On (SSO) into your course application to all these universities by integrating with all of them using a single platform provided by miniOrange.
    • This is the endpoint to call from your SAML application -
    • For Cloud IDP - https://login.xecurify.com/moas/discovery?customerId=<customer_id>
      For On-Premise IDP - https://yourdomain.com/discovery?customerId=<customer_id>

    • You should copy the Customer Key from admin console-> Settings -> and replace it with <customer_id> here. Once configured in SP, when you initiate the login from Service Provider, a user will be redirected to IDP Selection Page listing all IDPs configured for that account.
    • You can see the screenshot below of the IDP Selection Page with a list of IDPs.


      Note: To view the IDP in drop-down list, go to Identity Providers tab > against your configured IDP > Select >Edit , here Enable the Show IdP to Users option.

      Select your IDP (Identity Provider) to login

    • You also have the option to modify the appearance and design of this page. Login to miniOrange Admin console. Navigate to Customization -> Branding Configuration. See the below screenshot for reference-

    • Customize IDP selection login page

    • You can customize the title of this page.
    • Change the logo and favicon for this page.
    • Change the background and button color for this page from admin UI.

    External References

    Want To Schedule A Demo?

    Request a Demo
      



    Our Other Identity & Access Management Products