Creating a Custom OAuth App
When to Create a Custom OAuth App
You have to create a custom OAuth app to change the information displayed when users log into the Shopify OAuth endpoint to grant permissions to the adapter.
Create a Public or Custom App
Follow the procedure below to register a Public or Custom app and obtain the client credentials, such as the OAuthClientId and OAuthClientSecret:- Log in to Shopify with the developer login portal.
- Select Apps > Create app > Create app manually, enter a name for the app and click Create.
- Note the displayed API key and API secret key on the Overview page.
- Navigate to the App setup page.
- Note: You can request access for additional permissions for your app on this page which might be required for retrieving data from certain tables or views from a store.
- Provide an App URL, and a redirection URL under Allowed redirection URL(s), and click Save.
- For Desktop, you can 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.
- Navigate to the Distribution page.
- You can choose to either publish your app on the Shopify App Store as a public app or generate an install link exclusive to one store.
- After configuring a distribution method, you can use the API key and API secret key credentials to access your store's data.