LoomSync Studio
Cryptographic Architecture & Erasure Verification

Security Architecture & Data Deletion Policy

Technical documentation of LoomSync Studio's OAuth 2.0 + PKCE (S256) handshake, server-side AES-256-GCM token isolation, Etsy shop disconnection procedures, and self-service GDPR / CCPA data deletion workflow.

Effective Date
November 16, 2026
Last Updated
November 16, 2026
Legal Operator
LoomSync Systems LLC
1

OAuth 2.0 + PKCE (S256) Security Architecture

RFC 7636 PKCE Verified

LoomSync Studio implements Etsy Open API v3 authentication strictly using OAuth 2.0 Authorization Code Flow with PKCE (code_challenge_method=S256) and cryptographic CSRF state verification. Every token exchange and storage operation executes exclusively on hardened backend servers.

End-to-End Token Isolation FlowZero Browser Secret Exposure
1. PKCE + State
S256 & Nonce
2. Etsy Consent
Official OAuth
3. TLS 1.3 Exchange
Server-to-Server
4. AES-256-GCM
Isolated Postgres
5. HttpOnly Cookie
Opaque Session
01

PKCE code_verifier & state CSRF Generation

LoomSync Studio Server

Before redirecting a Seller, the backend generates a cryptographically random 64-byte code_verifier, computes its SHA-256 code_challenge (code_challenge_method=S256), and binds a single-use CSRF state nonce to an HttpOnly, Secure session cookie.

code_challenge = BASE64URL(SHA256(code_verifier))
02

Official Etsy OAuth 2.0 Consent Redirect

Etsy Authorization Server

The Seller is redirected to https://www.etsy.com/oauth/connect requesting only declared scopes (shops_r, listings_r, listings_w, transactions_r, transactions_w). LoomSync Studio never handles or views the Seller's Etsy password.

response_type=code&code_challenge_method=S256&scope=shops_r%20listings_r%20listings_w%20transactions_r%20transactions_w
03

Constant-Time State Check & Server-Side Token Exchange

LoomSync Backend -> api.etsy.com (TLS 1.3)

Upon callback, LoomSync verifies the state parameter in constant time, rejects replayed callbacks, and exchanges the authorization code plus raw code_verifier directly server-to-server over TLS 1.3 against https://api.etsy.com/v3/public/oauth/token.

POST https://api.etsy.com/v3/public/oauth/token (grant_type=authorization_code)
04

PostgreSQL AES-256-GCM Envelope Encryption

Isolated Vault / PostgreSQL

The received access_token and refresh_token are wrapped immediately using AES-256-GCM authenticated encryption with per-record IVs and KMS-managed envelope key rotation, then persisted strictly inside an isolated VPC PostgreSQL cluster.

cipher = AES_256_GCM.encrypt(token_json, dek, aad=shop_id)
05

Zero-Exposure Browser Session Cookie

Seller Browser Client

The Seller's browser receives only an opaque, signed HttpOnly; Secure; SameSite=Lax session identifier. Etsy OAuth tokens never enter browser memory, JavaScript state, localStorage, sessionStorage, or third-party telemetry.

Set-Cookie: lms_sid=...; HttpOnly; Secure; SameSite=Lax; Path=/
Want to inspect the interactive OAuth 2.0 + PKCE parameter preview?
Inspect OAuth 2.0 Sandbox
2

Encryption & Zero-Exposure Infrastructure Controls

Token Encryption at RestAES-256-GCM + Envelope KMS Rotation

Every OAuth access_token and refresh_token is encrypted using per-record Data Encryption Keys rotated via KMS.

Transport SecurityTLS 1.3 Enforced (HSTS)

All Seller traffic, Etsy Open API v3 requests, and database channels enforce TLS 1.3 with perfect forward secrecy.

Browser Token IsolationZero Client Exposure

Tokens never touch browser localStorage, client API responses, or analytics scripts; sessions use HttpOnly cookies.

API Cache Freshness<= 6h Listings / <= 24h Shop & Orders

Strict compliance with Etsy API Terms TTL limits; automated cache invalidation on webhook/manual sync or disconnect.

3

How to Disconnect Your Etsy Shop & Revoke OAuth Tokens

Immediate Token Invalidation

Sellers retain full, frictionless control over Etsy API authorization at all times. You may disconnect your Etsy shop and revoke all OAuth 2.0 tokens using either method below:

Method A: Inside LoomSync Studio

In-App Control
  1. 1Sign in to your LoomSync Studio workspace.
  2. 2Open Integrations from the top navigation or workspace sidebar.
  3. 3Locate your Connected Etsy Shop card (displaying your Shop Name and Shop ID).
  4. 4Click "Disconnect Shop & Revoke Token".
  5. 5Confirm immediate data purge in the modal to invalidate OAuth tokens and queue full API cache & Buyer PII deletion within 24 hours.

Method B: Inside Etsy Shop Manager

Etsy Native Control
  1. 1Sign in to your Etsy account at etsy.com.
  2. 2Open Shop Manager from the top navigation bar.
  3. 3Navigate to Settings -> Apps in the left Shop Manager menu.
  4. 4Select the Connected Apps tab to view authorized third-party applications.
  5. 5Locate "LoomSync Studio" in the list of connected apps.
  6. 6Click "Disconnect" to revoke all Etsy Open API v3 OAuth grants immediately.
Revoking access in Etsy immediately renders stored tokens inactive and triggers automated 24-hour purge.
4

Right to Erasure (GDPR Art. 17 / CCPA) & Purge SLAs

Verified SLA Commitments
Token Revocation Purge
≤ 24 Hours

Automated deletion of all cached listings, receipts, and Buyer PII within 24 hours of OAuth disconnect or revocation.

Completed Order Purge
30–90 Days

Rolling Buyer PII anonymization/purging after order fulfillment (mandatory statutory tax invoices masked of non-essential PII).

Manual Erasure Attestation
24–72 Hours

Written GDPR Art. 17 / CCPA erasure confirmation delivered via compliance@loomsyncstudio.site.

Under GDPR Article 17 (Right to Erasure) and the California Consumer Privacy Act (CCPA/CPRA), Sellers and authorized representatives may trigger immediate shop disconnection and permanent Buyer PII deletion using the self-service workflow below or by emailing compliance@loomsyncstudio.site.

5

Data Deletion & Token Revocation Request Workflow

Interactive Data Deletion & OAuth Revocation Request

Self-service verification workflow for Etsy Sellers and Etsy API Operations Reviewers.

Enter your numeric Etsy Shop ID (e.g., 48291044) or the Seller email linked to your LoomSync Studio workspace.

Deletion & Revocation Scope *
Logs deletion verification request with instant confirmation reference receipt.
Direct Privacy & Compliance Desk: compliance@loomsyncstudio.site
Technical Support: support@loomsyncstudio.site