What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Login via API

Login via API

Marcin_Krz
Shopify Partner
7 0 0

Hi,

 

I have given use case:

 

1. We have an application running on a subdomain, app.shop.com. Application is React on the front and WordPress on the backend. 

2. Once the user login into the app we want to login this user on the shop.com as well. We were able to check if the login / password is correct via the https://shopify.dev/api/storefront/2022-10/mutations/customeraccesstokencreate
3. On the app.shop.com we have a link to the shop.com. Once the user clicks to that link we'd like that the user is also logged in on the shop.com

Is that possible? Any pointers? 

Replies 0 (0)