beaucoo / multipassify

Shopify Multipass module for Node.js
92 stars 18 forks source link

Error generating Multipass token #1

Closed achinn closed 8 years ago

achinn commented 8 years ago

With the following code:

    const multipassify = new Multipassify("<SECRET OMITTED>");
    const customerData = { email: this.props.viewer.user.email };
    const url = multipassify.generateUrl(customerData, "shop1.myshopify.io");

I get the following error:

screen shot 2016-05-16 at 10 16 40 pm