App permissions should match the features an integration actually uses. Review data access and credential handling together, because a correctly scoped token still needs secure storage and a controlled lifecycle.
On this page
Review the access requirement
- List the app's production features and the resources each must read or change.
- Compare those needs with the installed and requested scopes.
- Identify sensitive data requirements, approval requirements and staff access separately.
- Remove unnecessary access through the supported app authorization process and test essential operations.
Keep privileged credentials on the backend
Admin API tokens and app secrets belong in protected server-side configuration. Do not place them in theme Liquid, public JavaScript, screenshots, tickets or public repositories. A public storefront token has a different purpose and permission model from an Admin credential.
For example, a browser feature that needs a privileged order update should call an authenticated backend that validates the action. Embedding the Admin token in the page exposes the integration's authority to visitors.
Plan rotation and access changes
Document credential ownership, storage location, environment and rotation procedure without copying the secret into the document. Revoke exposed credentials promptly through the supported process, replace affected deployment configuration and review relevant logs.
Review permissions when features are removed or integrations are retired. Test authorization failures clearly so an expired token becomes a visible support issue rather than silent data loss.
Should you grant every scope to fix an access error?
No. Identify the failing operation and its documented requirements. Add only justified access and verify the result, rather than broadening all permissions as a debugging shortcut.
References
Put this into practice.
Minion can help with Shopify custom app security and managed backend support. Discuss the right ongoing support plan for your store or website.