Accessing Zoho via Keycloak using SAML | Zoho Accounts

Accessing Zoho via Keycloak using SAML

By configuring SAML based SSO with Keycloak, you can allow users sign in to Zoho using their Keycloak credentials.

A. Setup Keycloak as IdP

  1. Sign in to the Keycloak admin console as an admin.
  2. Click Manage realms in the left menu.
  3. Select the realm where you want to setup Zoho integration If you don't have one, create a new realm.

B. Configure Zoho details in Keycloak

  1. In a new tab, sign in to accounts.zoho.com.
  2. Go to the Organization tab from the left menu and select SAML Authentication.
  3. Click Download Metadata.

  4. Open the metadata file using a browser or a text editor.

  5. From the metadata file, copy and save the following:
    1. Entity ID
    2. SingleLogoutService URL
    3. AssertionConsumerService URL(ACS).
  6. Return to Keycloak admin console for configuration.
  7. Navigate to Clients in the left menu and click Create client.

  8. In the General settings section,
    1. Select SAML in the Client type field.
    2. Enter the entityID in the Client ID field.
    3. Fill in the Name and Description.
    4. Click Next.

  9. In the Login settings section,
    1. Paste the ACS URL in the Valid redirect URIs field.
    2. Paste the SingleLogoutService URL in the Valid post logout redirect URIs.
    3. Paste the ACS URL in the Home URL, but replace signin/samlsp to samlauthrequest.
    4. Click Save.

  10. Scroll down to the SAML capabilities section,and do the following:
    1. Select email as the Name ID format.
    2. Enable Force name ID format.


  11. Scroll down to the Signature and Encryption section, and do the following:
    1. Enable Sign documents.
    2. Enable Sign assertions.
    3. Select RSA_SHA256 for Signature algorithm.
    4. Select NONE for SAML signature key name.
    5. Select EXCLUSIVE for Canonicalization method.


  12. Enable Force channel logout in the Logout settings section.
  13. Click Save.
  14. Go to the Keys tab and disable Client signature required.

  15. Click Yes to disable the client signature in the confirmation box that shows up.
  16. Go to the Advanced tab.
  17. Under the Fine Grain SAML Endpoint Configuration section, paste the SingleLogoutService URL (from the Zoho metadata file) in the Logout service POST Binding URL.

  18. Click Save.

C. Configure Keycloak details in Zoho

  1. In Keycloak, go to Realm settings in the left menu under Configure.
  2. Scroll down and click SAML 2.0 Identity Provider Metadata next to Endpoints.

  3. Copy and save the following details from the IdPmetadata XML file:
    1. The X509Certificate details enclosed inside the <ds : X509Certificate> </ds : X509Certificate>
    2. SingleLogoutServiceURL (optional)
    3. SingleSignOnService URL

  4. Click Save.
  5. Return to the SAML Authentication page in your Zoho account.
  6. Fill in the following fields:
    1. Paste the SingleSignOnService in the Sign-in URL field.
    2. Paste the SingleLogoutService in the Sign-out URL field.
    3. Paste the X509Certificate details in the X.509 Certificate field.
  7. Click Submit.

Test the SAML configuration

You can verify that the SAML configuration is working correctly by following these steps as a user in Keycloak:

SP-initiated flow:
  1. Go to your Zoho sign-in page.
  2. Enter the email address, then click Next.
  3. Select Sign in using SAML. You will be redirected to Keycloak for authentication.
  4. Enter your Keycloak credentials and click Sign In. You will be redirected back to Zoho and will be signed in.
IdP-initiated flow:
      1. Sign in to Keycloak.
      2. Go to Applications.
      3. Click Proceed in Review the sign-in URL page. You will be redirected to Zoho and will be signed in.




        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                      All-in-one knowledge management and training platform for your employees and customers.

                                                Create. Review. Publish.

                                                Write, edit, collaborate on, and publish documents to different content management platforms.

                                                Get Started Now




                                                                  You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                      Manage your brands on social media


                                                                        • Desk Community Learning Series


                                                                        • Digest


                                                                        • Functions


                                                                        • Meetups


                                                                        • Kbase


                                                                        • Resources


                                                                        • Glossary


                                                                        • Desk Marketplace


                                                                        • MVP Corner


                                                                        • Word of the Day


                                                                        • Ask the Experts


                                                                          Zoho Sheet Resources

                                                                           

                                                                              Zoho Forms Resources


                                                                                Secure your business
                                                                                communication with Zoho Mail


                                                                                Mail on the move with
                                                                                Zoho Mail mobile application

                                                                                  Stay on top of your schedule
                                                                                  at all times


                                                                                  Carry your calendar with you
                                                                                  Anytime, anywhere




                                                                                        Zoho Sign Resources

                                                                                          Sign, Paperless!

                                                                                          Sign and send business documents on the go!

                                                                                          Get Started Now




                                                                                                  Zoho TeamInbox Resources





                                                                                                            Zoho DataPrep Demo

                                                                                                            Get a personalized demo or POC

                                                                                                            REGISTER NOW


                                                                                                              Design. Discuss. Deliver.

                                                                                                              Create visually engaging stories with Zoho Show.

                                                                                                              Get Started Now








                                                                                                                                  • Related Articles

                                                                                                                                  • Accessing Zoho via Google using SAML

                                                                                                                                    You can use Google as an identity provider (IdP) to access Zoho applications. Google IdP is a user management platform for Google Apps and services. Required items from Google You will need the following items from Google to configure SAML in Zoho. ...
                                                                                                                                  • Accessing Zoho via Auth0 using SAML

                                                                                                                                    By configuring SAML based SSO with Auth0, you can let your users sign in to Zoho using their Auth0 credentials. Required items from Auth0 You will need the following items from Auth0 to configure SAML in Zoho. You can follow the configuration steps ...
                                                                                                                                  • Accessing Zoho via AWS using SAML

                                                                                                                                    By configuring SAML-based SSO with AWS, you can let your users sign in to Zoho using their AWS credentials. Required items from AWS: You will need the following items from AWS to configure SAML in Zoho. You can follow the configuration steps to get ...
                                                                                                                                  • Accessing Zoho via JumpCloud using SAML

                                                                                                                                    By configuring SAML-based SSO between Zoho and JumpCloud, you can let your users sign in to Zoho using their JumpCloud credentials. Required items from JumpCloud You will need the following items from JumpCloud to configure SAML in Zoho. You can ...
                                                                                                                                  • Sign in using SAML

                                                                                                                                    SAML is a protocol that allows you to configure single sign-on (SSO) for Zoho with your identity provider (IdP). Once SAML-based SSO is configured for an organization, all the organization users can directly sign in to Zoho using their IdP ...
                                                                                                                                    Wherever you are is as good as
                                                                                                                                    your workplace

                                                                                                                                      Resources

                                                                                                                                      Videos

                                                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                      eBooks

                                                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                      Webinars

                                                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                      CRM Tips

                                                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                                                        Zoho Show Resources