I built a Shopify Admin API token generator for custom apps
When I start a Shopify Admin API integration, I want to make one test request before wiring the API into the rest of the app. Getting to that first request can mean configuring a callback, completing OAuth, and checking which scopes Shopify granted.
I built a Next.js tool that guides you through that exchange for a compatible custom app. You configure the app in Shopify, authorize it for the target store, and get a result page with the token and granted scopes.
Try it with a development store
- In the Shopify Dev Dashboard, configure your app and add the exact callback URL shown in the setup guide.
- Start with a read-only scope such as
read_products, release the app configuration, and install the app on the store you’re authorized to use. - Open the tool, enter your store’s permanent
.myshopify.comdomain and the app credentials, then complete Shopify authorization. - Check the granted scopes and make your first read-only request with the GraphQL example.
If Shopify rejects the callback, check that the URL in the Dev Dashboard matches the setup guide exactly. If authorization succeeds but the API request fails, check the granted scopes on the result page.
The hosted exchange requires a client secret. I’d try it with a dedicated development app and minimal permissions. Keep secrets and tokens out of storefront code, screenshots, and GitHub issues. The public repo contains the setup docs and API examples.
If the guide saves you time, a GitHub star helps other Shopify developers find it. If you try the tool, I’d especially like feedback on which setup step could be clearer.
AI disclosure: I used AI assistance to draft and edit this post based on my project documentation.