Skip to content

Conversation

dinofratelli
Copy link
Contributor

I need that the AuthHelper accept all the parameters available in the official call url. So I added $state and $options variable to the createAuthRequest method sign (with null default) and passed to the $authUrl construction.
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={option}

I need that the AuthHelper accept all the parameters available in the official call url. So I added $state and $options variable to the createAuthRequest method sign (with null default) and passed to the $authUrl construction. https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={option}
@LukeTowers
Copy link

@dinofratelli feel free to give my API wrapper a try: https://github.com/LukeTowers/php-shopify-api

@tareqtms tareqtms merged commit fc90ce3 into phpclassic:master Jun 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants