shopify.auth.nonce

October 2, 2023 ยท View on GitHub

Generates a string of 15 characters that are cryptographically random, suitable for short-lived values in cookies to aid validation of requests/responses.

Example

const state = shopify.auth.nonce();

Return

string

A random string of characters.

Back to shopify.auth