Hi we are developing an native mobile application for iOS and android platforms using storefront api's . I have query regarding shopify webcheckout.
Please help me in the process if i am doing something wrong.
Here are the steps i am following.
Step 1: I created one customer using shopify api
Step 2: Now i loggedIn in the app using credentials created at the time of customer registration As a output i got the customeraccesstoken which i stored in the app.
Step 3: Now I created Checkout using lineItems As a output i got the checkoutId.
Step 4: Now As i already loggedIn in the app and i have customer accesstoken so i associated the customer with checkout using function checkoutCustomerAssociate As a output i got the checkout weburl which i loaded in the browser but as i told you i already have the customer accesstoken so this time the url should not ask me to login, but it asking for login.
So Please help me how i can manage the login session in this or how can i avoid login at the time of checkout.