--- title: "Cross Domain Access" url: https://docs.catalyst.zoho.com/en/sdk/web/v4/cloud-scale/authentication/cross-domain-access/ description: "This page describes the method to authenticte your backend and frontend servvices when they are hosted in different domains" last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "JavaScript SDK" url: /en/sdk/javascript/v1/cloudscale/authentication/add-user-to-org/ - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction - name: "Cross Domain Access Help Doc" url: /en/cloud-scale/help/authentication/cross-domain-access/ --- # Authenticate Backend Requirements for Frontend Services > **Note:** This SDK is currently in deprecation. Migrate to [JavaScript SDK](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/overview/) now. The `generateAuthToken()` SDK method will generate the required token to validate backend invocation calls made from the frontend services; when the backend and front services are hosted in different domains. > **Notes:** * You need to ensure that the backend and frontend services though hosted on different hosting services are part of the same Catalyst project. * You must ensure you have whitelisted the domains of the backend and frontend services using the **CORS** feature present in Catalyst Authentication. You can find out more about the CORS feature from this [help documentation](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/whitelisting/authorized-domains/introduction/#cors). * The `generateAuthToken()` SDK method is available from Web SDK version v4.6.1. ```javascript var auth = catalyst.auth; auth.generateAuthToken().then((response) => { const token = response.access_token; // the required user token will be shared as value in the response }); ```