RedeemID
Shopify customer accounts, member levels and paywalls for EmDash sites. Shopify runs the store and the customer account; EmDash runs the content.
Plugin
RedeemID
Shopify customer accounts, member levels and paywalls for EmDash sites. Shopify runs the store and the customer account; EmDash runs the content.
Shopify customer accounts, member levels and paywalls for EmDash sites. Shopify runs the store and the customer account; EmDash runs the content.
Installation
Install the package from npm:
npm install @redeemid/emdash
Register the plugin in your Astro config:
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { redeemid, redeemidGuard, redeemidPlugin } from "@redeemid/emdash";
const config = {
shop: "my-store.myshopify.com",
levels: [{ slug: "member", name: "Member", tags: ["member"] }],
rules: [{ collection: "posts", levels: ["member"] }],
};
export default defineConfig({
integrations: [
emdash({
authProviders: [redeemid(config)],
plugins: [redeemidPlugin(config)],
}),
redeemidGuard(),
],
});
This is a native EmDash plugin (an npm dependency, not a registry plugin), because sign-in and page gating run in the site process. It depends on a Shopify store (Customer Account API, a Shopify app for webhooks and optionally the Storefront API), configured through REDEEMID_SHOPIFY_* environment variables; Shopify is a third-party service. The README describes this release as early (0.0.39).
Details
- Latest version: 0.0.39
- License: MIT
- Publisher: Vinny S. Green, LLC
- Requires: EmDash
>=1.5.0 - Website: https://www.redeemid.com/
- Source repository: https://github.com/webmultipliers/redeemid-emdash
- npm package: @redeemid/emdash