Hi community!
I’m implementing a “Login with Shopify” feature for my website. The standard OAuth flow requires the user’s {shop} domain upfront to construct the authorization URL:
https://{shop}.myshopify.com/admin/oauth/authorize?client_id=...
At login initiation, I don’t know the user’s Shopify store domain . This prevents me from redirecting them to the correct OAuth URL.
But platforms (like Attribuly) use a centralized URL without a shop subdomain:
https://admin.shopify.com/admin/oauth/authorize?client_id=...
This works without prompting users for their store first – they simply log in and are redirected back with auth tokens.
Question:
- Is
admin.shopify.com/admin/oauth/authorizean officially supported endpoint for shop-domain-agnostic logins? - If yes, where are the documentation/requirements for using it? (I couldn’t find any!)
Any insights or examples would be appreciated!