christophergregory / shopify-node-api

OAuth2 Module for Shopify API
MIT License
216 stars 74 forks source link

authurl should also be buildable without shopname in url #91

Closed Freundschaft closed 6 years ago

Freundschaft commented 6 years ago

in order to receive the oauth2 token it should also be possible to call buildAuthURL without shopname, so that we get something like

https://myshopify.com/admin/oauth/authorize

as a result, that way the currently logged in shop is used.

Freundschaft commented 6 years ago

I created a PR with the changes at https://github.com/christophergregory/shopify-node-api/pull/92