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

Logging

Everything the extension does is written to its own file:

var/log/zohosso.log

The level is INFO, so both normal activity and errors are recorded.

What is logged

EventExample line
Sign-in startedInitiating Zoho SSO redirect with state: …
Callback receivedProcessing Zoho OAuth callback.
Token exchangeExchanging auth code for Zoho access token → Zoho token exchange successful.
Profile readFetching user info from Zoho UserInfo endpoint. → Zoho UserInfo successfully retrieved.
Existing customer matchedExisting Magento customer found for Zoho SSO: [email protected]
New customer createdNew Magento customer created for Zoho SSO: [email protected]
Customer logged inCustomer logged in via Zoho SSO: [email protected]

Errors

Log lineMeaning
Zoho authentication callback error: …Zoho returned an error, e.g. access_denied.
Invalid state parameter in Zoho callback response.Session or state mismatch.
Authorization code missing in Zoho response.No code on the callback.
Zoho Token exchange failed: …Wrong secret, region, or redirect URI. The Zoho response is attached.
Invalid response received from Zoho UserInfo API.Profile request failed.
Email address missing in Zoho user info profile.Zoho shared no email.
Failed to decrypt Zoho Client Secret: …Re-enter the secret in the admin.
Zoho SSO Callback Error: … / Zoho SSO initiation error: …Any other failure, with the reason.

Following it live

tail -f var/log/zohosso.log

Start a sign-in in another window and watch each step appear.

The log contains customer emails

Treat zohosso.log as personal data. Rotate it with your other Magento logs and do not attach it to public tickets without removing email addresses.

Prev
Data & Sessions