Enable CORS for OAuth Endpoints
Enable cross-origin resource sharing (CORS) to request information about a user from the POS device.
-
From Setup, in the Quick Find box, enter
CORS
, and then select CORS. -
Under Allowed Origins List, click New.
-
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. -
Save your changes.
-
In the Cross-Origin Resource Sharing (CORS) Policy Settings section, click Edit.
-
Select Enable CORS for OAuth endpoints.
-
Save your changes.