Skip to main content

ID Token

The ID token API asynchronously retrieves an OpenID Connect ID Token from Shopify that can be used to ensure that requests came from a Shopify authenticated user. See the ID Token documentation from more information.

The idToken API is available on the shopify global. It asynchronously retrieves an OpenID Connect ID Token from Shopify.

Promise<string>

ID Token

await shopify.idToken();
Was this page helpful?