Custom ReactJS Frontend and createCustomer mutation questions

AdamAtomix
Visitor
2 0 1

Hello,

I've been working on a custom frontend to use shopify as a backend&dashboard for a week now and i have some questions concerning creating customers.

 

So right now I do the following:

user calls the createUser mutation with his password and email and it creates the customer, user then can login which will generate the customerAccessToken and I store that in localstorage, I wanted to know if this is a security problem or if this is how its supposed to be done,

 

note: everything here is done client side, I dont have any backend server (other than shopify's)

 

Reply 1 (1)

jasonandrew
Shopify Partner
1 0 0

bump