Magento 2 Zoho SSOMagento 2 Zoho SSO
Buy Now
Support
Buy Now
Support
  • Getting Started

    • Introduction
    • Key Features
    • How It Works
  • Installation

    • Requirements
    • Install the Module
    • Enable & Compile
    • Verify the Installation
  • Setup

    • Activate Your Licence
    • Register a Zoho Client
    • Connect Magento to Zoho
    • Test the First Sign-In
  • Configuration

    • Overview
    • Settings Reference
    • Data Centers
    • Redirect URI
    • Scope & Store Views
    • Admin Menu
    • Access Control
  • Storefront

    • Customer Login
    • Create Account
    • Checkout Sign-In
    • Popup & Mobile Behaviour
    • Accounts & Matching
    • Messages
  • Developers

    • Routes & Endpoints
    • Data & Sessions
    • Logging
  • Help

    • Setup Problems
    • Sign-In Problems
    • FAQ

Data & Sessions

Database

The module creates no tables and no EAV attributes.

TableHow it is used
core_config_dataSettings under zohosso/options/*. client_secret is encrypted.
customer_entityNew customers created on first Zoho sign-in. No password hash.

Configuration paths

PathDefaultSetting
zohosso/options/active0Enable Zoho SSO
zohosso/options/regionusZoho Data Center / Region
zohosso/options/client_id—Zoho Client ID
zohosso/options/client_secret—Zoho Client Secret (encrypted)
zohosso/options/api_versionv2Zoho OAuth API Version
zohosso/options/redirect_uri—Custom Redirect URI (Optional)
zohosso/options/default_group1Default Customer Group for New Accounts

Set them from the CLI if you deploy configuration as code:

php bin/magento config:set zohosso/options/active 1
php bin/magento config:set zohosso/options/region eu
php bin/magento config:set zohosso/options/client_id 1000.XXXXXXXXXXXXXXXX
php bin/magento config:set zohosso/options/default_group 1

Set Zoho Client Secret in the admin so it is stored encrypted. config:set stores the value as plain text. The module still reads a plain-text secret, but it sits unencrypted in the database.

Region codes: us, eu, in, au, cn, jp, ca, sa, uk, sg, ae.

Customer session keys

KeyLifetime
zoho_sso_stateSet when sign-in starts, removed on callback
zoho_sso_popupSet for popup sign-ins, removed on callback
zoho_sso_returnSet to checkout for checkout sign-ins, removed on callback
zoho_sso_popup_targetSet before the completion page, removed when it renders

The state round-trip depends on the session cookie surviving the trip to Zoho and back.

Caching

The Zoho blocks are not cacheable, so full-page cache never stores a page with a stale button. Login, registration, and checkout are uncacheable in Magento anyway.

Prev
Routes & Endpoints
Next
Logging