Creating a Custom OAuth Application
Creating a Custom OAuth Application
Since the cmdlet is not registered with Shopify you must use custom OAuth credentials to connect via web, desktop, or headless server. To register a Public or Custom app and obtain the client credentials, such as the OAuthClientId and OAuthClientSecret, follow these steps:
- Log in to Shopify with the developer login portal.
- Select Apps > Create app > Create app manually.
- Enter a name for the application and click Create.
- Record the API key and API secret displayed on the Overview page.
- Navigate to the App setup page. If necessary, use this page to request additional access to certain tables, views, or stores.
- At Allowed redirection URL(s), specify an App URL, and a redirection URL.
- For Desktop authentication, set the redirection URL to a local host; for example, http://localhost:3333, the provider's default.
- For Web authentication, select a different port of your choice and set the CallbackURL to the exact reply URL you defined.
- Click Save.
- Navigate to the Distribution page.
- Either publish your application on the Shopify App Store as a public application, or generate an installation link exclusive to one store.
You may now use the API key and API secret key credentials to access your store's data.