Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessions don't have a session ID #138

Open
asacarter opened this issue Oct 22, 2022 · 1 comment
Open

Sessions don't have a session ID #138

asacarter opened this issue Oct 22, 2022 · 1 comment

Comments

@asacarter
Copy link

There seems to be an issue where some users logging in with per-ser via Rest don't get a session.

I'm still trying to figure it out.

Osiset\BasicShopifyAPI\ResponseAccess Object
(
    [container] => Array
        (
            [access_token] => shpat_ba77093f97341f31f76167d9524*****
            [scope] => write_orders,read_products,read_inventory,write_assigned_fulfillment_orders,write_merchant_managed_fulfillment_orders
            [expires_in] => 86398
            [associated_user_scope] => write_orders,read_products,read_inventory,write_assigned_fulfillment_orders,write_merchant_managed_fulfillment_orders
            [session] => 
            [account_number] => 
            [associated_user] => Array
                (
                    [id] => 86370779****
                    [first_name] => ****
                    [last_name] => ****
                    [email] => contact@app*****
                    [account_owner] => 1
                    [locale] => en-GB
                    [collaborator] => 
                    [email_verified] => 
                )

        )

    [position] => 0
)
@asacarter
Copy link
Author

asacarter commented Oct 22, 2022

The data seems to come from the access response from Shopify so not an issue with the library.

Anyone have any idea why in some instances Shopify grants access but does not provide a session or account number?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant