---
schema_version: "1"
id: 8b6b6e2e46d1875f0c6f6096d26db2a354e68c3d894e9a2dc441f1720ea3d1c4
title: Enable CORS for OAuth Endpoints
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/loyalty/guides/enable-cors-unlocked-package.md
canonical_url: https://developer.salesforce.com/docs/industries/loyalty/guide/enable-cors-unlocked-package.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6bf910c870401c9ed258b88fad79bca06e7b7f0c3aa1d56153626d5697e6fddf
products:
  - Loyalty Management Integrations API
  - Industries Integrations
---
# Enable CORS for OAuth Endpoints

Enable cross-origin resource sharing (CORS) to request information about a user from the POS device.

1. From Setup, in the Quick Find box, enter `CORS`, and then select **CORS**.
2. Under Allowed Origins List, click **New**.
3. For Origin URL Pattern, enter the URL of the POS device.

   For example, to integrate with Shopify, enter `https://\*.shopify.com` as the Origin URL Pattern.

4. Save your changes.
5. In the Cross-Origin Resource Sharing (CORS) Policy Settings section, click **Edit**.
6. Select **Enable CORS for OAuth endpoints**.
7. Save your changes.
