PROTEXT/0.1 · Developer & Protocol Guides

Protext implementation guides.

Every guide below maps directly onto SPEC.md and the MIT-licensed reference provider at protext.org—covering OpenID Connect Core, OAuth 2.1 PKCE (S256), typed context scopes, provenance receipts, the browser SDK, and self-hosting.

Read PROTEXT/0.1 SpecDeveloper Quickstart10 Languages (/lang)
Quick answer · How to build with Protext

Start with standard OpenID Connect: point any OIDC relying party at https://protext.org/.well-known/openid-configuration, or drop https://protext.org/sdk.js into HTML for zero-secret PKCE sign-in and data-protext form autofill.

Request only the category scopes your app needs (context:identity, context:contact, context:link, context:work, context:interest, context:memory, context:pref). Users tick individual items on the consent screen, and your app receives both the inline context bundle and RS256-signed context_token.

All 9 guides

Protocol & SDK deep dives

Guide 04 · RFC 7591 Registration

RFC 7591 Dynamic Client Registration

Register public PKCE or confidential OIDC relying parties immediately at POST https://protext.org/oidc/register using RFC 7591 without creating a provider account first.

SPEC.md §6.5 · SPEC.md §8Read guide →
Guide 05 · Cryptographic Verification

Signed context_token & JWKS Verification

Verify RS256 signed id_token and context_token JWS payloads against /.well-known/jwks.json using standard JOSE libraries for verifiable third-party bundle handoff.

SPEC.md §5 · SPEC.md §6.2Read guide →
Protocol Reference Endpoints

Machine-readable endpoints on protext.org

EndpointStandardPurpose
/.well-known/openid-configurationOIDC Discovery 1.0Authorization, token, userinfo, registration, revocation, JWKS, and Protext extensions
/.well-known/protext.jsonPROTEXT/0.1 §8Categories, well-known kinds, import sources, personhood_issuers, and SDK URL
/.well-known/jwks.jsonRFC 7517 JWKSPublic RS256 verification key for id_token and context_token
POST /oidc/registerRFC 7591Dynamic public (PKCE) or confidential client registration without an account
GET /api/v0/contextPROTEXT/0.1 §5, §6.3Live bundle read under an active grant (add ?format=jwt for RS256 JWS)
GET /api/v0/exportPROTEXT/0.1 §6.4Full vault download (<handle>.protext.json) for authenticated vault owners
FAQ

Frequently asked questions

What do the Protext developer guides cover?

The nine Protext guides document every part of the PROTEXT/0.1 specification and reference provider: OpenID Connect Core and OAuth 2.1 PKCE (S256), context bundles and category scopes, the zero-secret browser SDK (/sdk.js), RFC 7591 dynamic client registration, RS256 signed context_token verification via JWKS, item-level consent and provenance receipts, AI memory and profile importers, live grant reads and RFC 7009 revocation, and self-hosting a provider.

Do I need a custom authentication library to integrate Protext?

No. PROTEXT/0.1 is a profile of OpenID Connect Core using the authorization code flow with PKCE (S256). Any standard OIDC library or relying party can point at https://protext.org/.well-known/openid-configuration to authenticate users and receive standard ID token claims, while Protext-aware apps also read the consented context bundle.

Which specification version are these guides grounded in?

Every endpoint, scope, item kind, token lifetime, and wire format in these guides reflects PROTEXT/0.1 (Draft 0.1, MIT license) as published in SPEC.md and implemented by the open-source reference provider at https://protext.org.

Can browser-only apps integrate Sign in with Protext without a backend?

Yes. Public clients register via RFC 7591 with token_endpoint_auth_method set to none (the default) and use /sdk.js with OAuth 2.1 PKCE (S256). The SDK handles code_verifier generation in sessionStorage, token exchange at /oidc/token, declarative form autofill via data-protext attributes, and dispatches the protext:signed-in event.

How is user privacy protected when apps request context scopes?

Relying parties only request category scopes such as context:work or context:memory, never raw transcripts. On the consent screen the person ticks or unticks individual items, memory.* items default to unchecked on a new grant, and every item starts private inside the vault until explicitly granted or marked public.

Are the Protext developer guides available in languages other than English?

Yes. Alongside the full English guide hub at /guides, Protext publishes localized developer hubs in Spanish, Portuguese, French, German, Japanese, Korean, Hindi, Indonesian, and Turkish under /lang.