The Shopify Connector supports OAuth2.0 authentication Code Flow Grant Type. When creating a Connector, you must first store the authorization information in an Authorization Vault (vault entry), which provides a secure storage location for API keys, tokens, username and passwords, headers, and other info necessary to authorize calls to external Web Services.
For a Cloud Connector to work, you must create a vault entry and configure it to the external application being communicated with.
For additional information on Shopify Authentication, please refer to: https://shopify.dev/tutorials/authenticate-with-oauth
Steps to create an Auth Vault Entry
- From CIC Studio, go to File>New>Cloud Connector.
This opens the Select Vault Entry screen. - Click the + button to create a new vault entry. Alternatively, you can select an existing vault alias from the list (if already created).
- Provide the vault entry alias name, select the environment, and then click Next to proceed.
- Select Shopify from the list of Connectors and hit Next to proceed.
- Select the required authentication type from the dropdown. Click Next to proceed.
- Take the next step based on the selected auth type.
If the selected auth type is OAuth 2.0 Code Flow, then enter authentication info and click Next to proceed.
If the selected auth type is Access Token, then enter Shop URL and Access Token, then click Next to proceed.
The above authentication details (Client ID, Client Secret, Shop URL, Redirect URI, and Access Token) can be obtained in the steps described in Prerequisites - Shopify.
Please skip to the final steps in this list, unless the following screen appears.
If it appears, click Switch Mode and take the following steps:
a) Copy the OAuth Request URL in any web browser (incognito mode). This should prompt you to sign in with a username and password.
b) After signing in, copy and paste the URL (which you are redirected to) as the value for the Result URL, and then click Validate.
- Sign in to your Shopify account to complete authentication.
- Once the details are validated, click Next to create a new vault entry.
- Click Finish to create the vault entry.
Comments
0 comments
Please sign in to leave a comment.