Is this alternate OAuth url supported? Using admin.shopify.com instead of myshopify.com

Is this alternate OAuth url supported? Using admin.shopify.com instead of myshopify.com

Parabola-dev
Shopify Partner
4 0 0

Howdy folks, a quick question:

 

The docs on implementing oauth manually say to kick off the flow at `{shop}.myshopify.com/admin/oauth/authorize`, but it would be much more convenient if I didn't have to know the shop's subdomain. (The Shopify App Store Team doesn't want users to have to enter the subdomain themselves).

 

Through some research, I found a generic alternative at `admin.shopify.com/admin/oauth/authorize`. This works great, but isn't mentioned explicitly in the docs.

 

Is this safe for me to use long term?

Reply 1 (1)

Liam
Shopify Staff
2873 312 818

Hi Parabola,

 

The admin.shopify.com approach is reliable - I'll reach out to our docs team to get this added to the auth docs. Thanks for flagging!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog