When you add a new app to your Shopify store, you need to give it permission to access your Shopify account. This is called authorizing the app.
There are two ways to authorize an app:
1. Use your shop’s admin URL
2. Use OAuth
Option 1: Use your shop’s admin URL
To authorize an app using your shop’s admin URL, you need to generate a permanent access token. To do this, go to Apps in your Shopify admin, then click Manage private apps. From there, you can create a new private app or edit an existing one.
When you create or edit a private app, you’ll be able to set its name and contact email, and choose which permissions to grant it. Granting an app permission to access your shop’s data is called authorizing the app.
When you’ve finished creating or editing your private app, click Save. On the next page, you’ll see your app’s Admin API section.
In the Storefront API section, click Generate Token. This generates a permanent access token for your private app. Copy this token and keep it safe; you’ll need it to authenticate with your Shopify store later on.
Option 2: Use OAuth
OAuth is the industry standard for authorizing access to someone else’s data. When you use OAuth to authorize an app, you’re redirected to a login page where you enter your shop’s domain.
After you log in, you’re asked whether you want to grant the app the permissions it’s requesting. If you grant the app permission, then it’s given an access token that it can use to make API calls on your behalf.
OAuth is more secure than using a permanent access token because it gives you more control over which apps have access to your data, and when they have access to it. OAuth also allows customers to log in to third-party applications using their Shopify account credentials. This means that customers don’t have to create separate usernames and passwords for each of the apps they use; they can use their existing Shopify account credentials instead.
Conclusion: How Do I Give Permission on Shopify?
There are two ways that you can give permission on Shopify – either by using your shop’s admin URL or by using OAuth (the industry standard). If you want more control over which apps have access to your data and when they have access, then OAuth is the best option for you; otherwise, using your shop’s admin URL is a perfectly fine way to give permission as well.