
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
multipass-js
Advanced tools
a typesafe shopify multipass token generator, written in 100 pure typescript
Shopify provides a mechanism for single sign-on known as Multipass. Multipass uses an AES encrypted JSON hash and multipassify provides functions for generating tokens
More details on Multipass with Shopify can be found here.
# isntall with yarn
yarn add multipass-js
# install with npm
npm install multipass-js
import { Multipass } from "multipass-js"
const multipass = new Multipass(SHOPIFY_STORE_MULTIPASS_SECRET);
// Create your customer data hash
const email = `woojoo@softmarshmallow.com`
const customerData = {
email: email,
user: "your database user id",
customer: "any custom data you want"
// ...
};
const url = multipass.withCustomerData(customerData).withDomain("mystore.shopify.com").withRedirect("products/primary").url();
// client may access shopify with `url`
// will give you URL like: https://store.myshopify.com/account/login/multipass/<MULTIPASS-TOKEN>
// with optional redirection
// Generate token
const token = multipass.withCustomerData(customerData).token();
https://shopify.dev/docs/admin-api/rest/reference/plus/multipass
FAQs
a shopify multipass url generator
We found that multipass-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.