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)