Closed zzooeeyy closed 2 months ago
shopify_api
14.3.0
id_token
WithShopifyIdToken
shopify_id_token
ShopifyApp::JWTMiddleware
LoginProtection
ShopifyApp::JWT
ShopifyAPI::Auth::JwtPayload
Before submitting the PR, please consider if any of the following are needed:
CHANGELOG.md
README.md
/docs
What this PR does
shopify_api
to14.3.0
id_token
from URL paramWithShopifyIdToken
shopify_id_token
to retrieve the Shopify Id token from either the authorization header or the URL paramid_token
.ShopifyApp::JWTMiddleware
supports retrieving session token from URL paramid_token
ShopifyApp::JWTMiddleware
returns early if the app is not embedded to avoid unnecessary JWT verificationLoginProtection
now usesWithShopifyIdToken
concern to retrieve the Shopify Id token, thus accepting the session token from the URL paramid_token
ShopifyApp::JWT
to be deprecated in version 23.0.0, useShopifyAPI::Auth::JwtPayload
instead.Reviewer's guide to testing
Checklist
Before submitting the PR, please consider if any of the following are needed:
CHANGELOG.md
if the changes would impact usersREADME.md
, if appropriate./docs
, if necessary