Liquid、JavaScriptなどに関する質問
日本時間の2022/06/01 04:30ぐらいからなのですが、shopifyのmultipasstokenを発行する処理に不具合が発生しているようです。
自分のサイトの場合、multipasstokenの最後に付与されている文字列"="をすべて削除すると問題なく動作するという不思議な現象が発生しています。
shopifyのカスタマーセンターにも問い合わせをしているのですが、現状解決策が見つからない状態です。
他に同じ現象が発生している方はいらっしゃいますでしょうか?
こちらですが、multipasstokenを発行する処理ではなく、multipasstokenを利用してログイン処理を行う際に不具合が発生している状況でした。
shopifyのサポートの方からは以下の返答を頂きました。
The issue was with GraphQL and CustomerAccessTokenCreateWithMultipass. When you used this mutation with GraphQL, the multipass token kept allowing new sessions to be generated instead of only allowing the first session to be successful and all subsequent sessions to return a 422 response. The behaviour of the CustomerAccessTokenCreateWithMultipass mutation has now been fixed, as of ~16 hours ago, and will only allow you to generate 1 session per multipass token once and no more.
You'll need to ensure that the MultipassToken is not being used before you use it in your mutation and get the customerAccessToken.accessToken to then allow a customer to login. If a customer logins in with their Multipass Token and then you make another call to generate another token within our GraphQL, this could cause the token to be useless.
これまでは、一つのmultipasstokenを利用してログインと同時にCustomerAccessTokenCreateWithMultipassを利用したアクセストークンの発行ができていたが、それを1セッション内で同一のmultipasstokenでの認証は一回しか許可しない仕様に変更を行ったということでした。
現在この修正はrevertされているということでしたが、今後はこの修正が再度本番にデプロイされるということでしたので、この部分を考慮する必要があるということでした。
ユーザー | ランク |
---|---|
36 | |
11 | |
7 | |
6 | |
6 |
すべてのShopifyアカウントはデフォルトではmyshopify.comのURLと関連付けられており、これはアカウント設定時に使用したビジネス名に基づいて作成されます。しかし、オ...
By Nina_13 Nov 26, 2023このトピックは英語版コミュニティの投稿:Shopify Web Pixel Manager Sandbox FAQの日本翻訳です。
By Mirai Nov 19, 2023Shopifyの管理画面では、商品ごとや配送元のロケーション(倉庫)ごとにカスタム配送料を設定することができます。特に購入金額による送料無料設定は、顧客の購買意欲を高める効果的な手...
By Alex06 Nov 5, 2023