Scytales Wallet Verification

By scytales

0+ active installationsVersion 1.2.4

Add an age and identity verification gate to your WordPress site using the Scytales Connector and EUDI / Digital ID wallets over OpenID Connect.

Description

Scytales Wallet Verification lets you require visitors to prove their age or identity with a Digital ID wallet before they can view your site or selected pages. It acts as an OpenID Connect Relying Party against the Scytales Connector identity provider, using the secure Authorization Code flow with PKCE.

When a visitor reaches gated content, they are shown a verification screen. After they verify with their wallet at the Connector, they are returned to the page and the proof of verification is remembered for a configurable period.

Privacy by design. The plugin stores only a minimal proof of verification (the scope verified, the time, and an expiry) plus an opaque subject identifier for logged-in users. It does not store names, dates of birth, document numbers, or other personal data in your WordPress database.

Features

  • Age verification (18+) and full identity verification (mDL, EU PID) via the Scytales Connector.
  • Gate the whole site, only selected pages/posts, or WooCommerce purchases.
  • WooCommerce: require verification for flagged products or for every checkout. Customers can browse and add gated products to the cart freely, and verification is required to complete the purchase. A notice appears on gated product pages and in the cart, and unverified checkout is blocked.
  • Works for both anonymous visitors (signed cookie) and logged-in users (user meta).
  • Configurable verification validity window (30 minutes, 1 hour, 4 hours).
  • Turn the content gate off entirely to run WooCommerce-only.
  • Customizable gate screen (heading, message, button label, button color) with a clear “How it works” explanation for visitors.
  • Optional App Store and Google Play buttons on the gate so visitors can install a Digital ID wallet.
  • Choose how verification opens: a full-page redirect or a popup window that keeps visitors on the current page (with automatic redirect fallback when popups are blocked).
  • Optional “Verified” status badge.
  • Verifications dashboard with activity charts and a recent-events log that records only non-identifying data.
  • No third-party tracking. All verification happens directly between your site and your Connector.

What you need

  • A Scytales Connector account with an OIDC client (Client ID + Client secret).
  • The redirect URI shown on the plugin’s settings page, registered in that client.

The plugin is free. The Scytales Connector is a separate service provided by Scytales. Contact Scytales to get access and set up a Connector account.

External services

This plugin connects to a Scytales Connector, an OpenID Connect identity provider, to verify a visitor’s age or identity. The Connector is the service you configure on the settings page (the authority URL, Client ID, and Client secret). A Connector must be configured for any verification to happen. The default authority is https://idp.connector.scytales.dev/ and can be changed to your own Connector instance.

The Connector is a separate service provided by Scytales and is not included with this free plugin. Contact Scytales to get access and set up an account.

When a visitor starts verification, the plugin uses the standard OpenID Connect Authorization Code flow with PKCE:

  • The visitor’s browser is redirected to the Connector’s authorization endpoint. The data sent is the OpenID Connect Client ID, the requested scopes (for example age-over-18), a redirect URI back to your site, and PKCE and state parameters. No WordPress user data is sent.
  • Your site’s server then contacts the Connector’s token and userinfo endpoints to exchange the returned authorization code for the verification result. The Connector returns identity claims (such as an age-over-18 flag). These claims are evaluated to decide pass or fail and are not stored in your database. Only a minimal proof (scope, timestamp, expiry, and an opaque subject identifier for logged-in users) is kept.
  • The plugin also reads the Connector’s discovery document and public signing keys (the /.well-known/openid-configuration and JWKS endpoints) to validate the returned tokens.

Verification happens directly between your site, the visitor’s browser, and the Connector you configure. The plugin adds no third-party analytics or tracking.

Scytales Connector terms of service and privacy policy: https://www.scytales.com/

The gate screen may also show optional links to the Apple App Store and Google Play so visitors can install a Digital ID wallet app. These links only open when the visitor clicks them.

Installation

  1. Upload the plugin to the /wp-content/plugins/ directory, or install it through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings → Wallet Verification.
  4. Copy the Redirect URI shown and register it in your Scytales Connector OIDC client.
  5. Paste your Client ID and Client secret, then choose the scope(s) to request.
  6. Pick a Content gate mode (or set it to Disabled), and if you use WooCommerce, enable the Purchase gate. Save.

FAQ

Does this require WooCommerce?

No. The plugin gates standard WordPress content (the whole site or selected pages/posts) without WooCommerce. If WooCommerce is active, an optional purchase gate becomes available: you can require verification for individual flagged products or for every checkout. Customers can still browse and add gated products to the cart, but verification is required before the order can be placed. A notice on gated product pages and in the cart explains this, and checkout is blocked for unverified customers on both the classic checkout and the WooCommerce Checkout block.

What personal data is stored?

Only a minimal proof of verification (scope, timestamp, expiry) and, for logged-in users, an opaque subject identifier. No names, dates of birth, or document details are stored. The Verifications dashboard keeps a lightweight event log (time, outcome, scope, guest or logged-in, which gate, and the page path) that also contains no personal data. You can clear it at any time.

What happens if the Connector is unreachable?

The visitor sees a “temporarily unavailable” message on the gate screen rather than a broken page. If credentials are missing, the gate stays inactive so your site is never accidentally blocked.

Which signing algorithms are supported for ID tokens?

RSA PKCS#1 v1.5 (RS256, RS384, RS512). Configure your Connector OIDC client to sign ID tokens with RS256. The insecure “none” algorithm and other families are rejected.

Changelog

1.2.4

  • The OIDC client secret is now stored as entered (only control characters and surrounding whitespace are removed), so secrets containing special characters are no longer altered.
  • Added a capability check when saving the WooCommerce “Require wallet verification” product option.

1.2.3

  • All functions, classes, constants, options, metadata, transients, cookies, and asset handles now use the unique scytales_wv prefix, as required by WordPress.org.

1.2.2

  • Updated “Tested up to” to WordPress 7.1.

1.2.1

  • All CSS and JS on the standalone gate and popup completion screens are now served through the WordPress enqueue API (wp_enqueue_style / wp_enqueue_script and the inline helpers) instead of raw HTML tags.
  • Housekeeping for WordPress.org compliance.

1.2.0

  • Purchase gate now lets customers add gated products to the cart freely and requires verification only to complete checkout, instead of blocking add-to-cart. This avoids the confusing “the item will not add” experience.
  • Added an informational notice at the top of gated product pages, with an inline “Verify with Digital ID” button, so customers know verification is needed before they reach checkout. Works on both classic and block themes.
  • Products now show a single verification control (the “Require wallet verification” option under Product data, General). The separate “require to view” box no longer appears on products to avoid confusion.
  • Checkout enforcement continues to cover both the classic checkout and the WooCommerce Cart and Checkout blocks (Store API), blocking order placement server-side.

1.1.0

  • Added WooCommerce purchase gate: require wallet verification for flagged products or for every checkout.
  • Enforcement blocks unverified customers at add-to-cart and at checkout, with an inline “Verify with Digital ID” button.
  • Works with both the classic (shortcode) cart and checkout and the newer WooCommerce Cart and Checkout blocks (Store API), so block-based stores are gated too.
  • New per-product “Require wallet verification” option under Product data, General.
  • The gate stays inactive unless WooCommerce is active, the purchase gate is enabled, and Connector credentials are configured.
  • New “Verification window” setting: open verification as a full-page redirect (default) or in a popup window that keeps visitors on the page and reloads on success. Falls back to a redirect automatically when the browser blocks popups.
  • Content gate can now be set to “Disabled” so a store can run WooCommerce-only.
  • Redesigned verification screen with a “How it works” explanation and optional App Store and Google Play buttons for installing a Digital ID wallet.
  • New “Wallet Verifications” dashboard under Settings with activity charts, a success rate, and a recent-events log that stores only non-identifying data.

1.0.0

  • Initial release: OIDC Relying Party verification gate for whole-site and per-page modes.