External user accounts for pewresearch.org: Firebase authentication, Gutenberg account blocks, content gating, saved articles, listening history, and VIP cache personalization.
Package: @prc/user-accounts
Source: plugins/prc-user-accounts/
Editors assemble /my-account/ pages with account blocks. Site operators configure Firebase and Turnstile constants. Frontend clients call prc-api/v3/user-accounts/* with Firebase auth headers.
Choose a path
Who are you?
Start with the guide that matches your work.
Documentation
For editors
- User guide — page tree, blocks, content gate
For maintainers
- Architecture — Firebase, provisioners, VIP cache, security
For consumers
- REST API —
prc-api/v3/user-accounts/*
Related
- Plugin README — constants and security notes
- PRC Block Forms — account forms and captcha