Auth0 Home Blog Docs

Zoho custom connection

custom-social-connec
#1

I’m trying to configure custom social connection for ZOHO.com
The auth/token requests work well in Postman and I receive a Zoho access token:
https_//accounts.zoho.com/oauth/v2/auth?response_type=code&client_id=xxx&scope=VirtualOffice.accounts.READ&redirect_uri=xxx&prompt=consent

https_//accounts.zoho.com/oauth/v2/token?code=xxx&grant_type=authorization_code&client_id=xxx&client_secret=xxx&redirect_uri=xxx&scope=VirtualOffice.accounts.READ

But, when I’m trying to save a custom connection in auth0 (even before clicking on Try button) I get this error:
“Expired token received for JSON Web Token validation”
The authorized redirect url is defined as “https_//DOMAIN.auth0.com/login/callback”
Zoho also has the client domain, that is defined as “DOMAIN.auth0.com

The token response from Postman has this format:

{
    "access_token": "1000.4258122a11c8c3fc2d3c08eb7d21c57a.e81107de2de59253448c675db129371f",
    "expires_in_sec": 3600,
    "api_domain": "https://www.zohoapis.com",
    "token_type": "Bearer",
    "expires_in": 3600000
}