cerberauth/StubIdP

Start a stub OpenID Connect identity provider for testing

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
portPort to run stubidp onno8484
issuerOIDC issuer URL (defaults to http://localhost:<port>)no""
client-idOIDC client ID (auto-generated if not provided)no""
client-secretOIDC client secret (auto-generated if not provided)no""
redirect-uriAllowed redirect URI for the OIDC clientno""
skip-promptAuto-approve login/consent prompts for headless CInotrue
default-userJSON object of OIDC claims for the stub userno""
presetPreconfigure for a specific auth library (better-auth, next-auth)no""
jwks-filePath to a JWKS JSON file (key pair auto-generated if omitted)no""
log-levelLog level (fatal, error, warn, info, debug, trace, silent)no""
rate-limit-disabledDisable rate limitingnotrue
rate-limit-window-msRate limit time window in milliseconds (default 900000 = 15 min)no""
rate-limit-maxMax requests per window per IP (default 100)no""
enable-registrationEnable dynamic client registration (RFC 7591) and management (RFC 7592)no""
registration-initial-access-tokenBearer token required to register new clients (omit for open registration)no""
trust-proxyTrust reverse proxy headers (X-Forwarded-*)no""
https-redirectRedirect HTTP requests to HTTPSno""
security-headersEnable security headers (CSP, HSTS, etc.) via helmetno""
post-logout-redirect-uriAllowed post-logout redirect URIno""
public-clientConfigure as public client (no client_secret, token_endpoint_auth_method=none). For SPAs and native appsno""
versionVersion of @cerberauth/stubidp to install (pin for reliable caching)nolatest
namedescription
issuerOIDC issuer URL (e.g. http://localhost:8484)
discovery-urlOIDC discovery URL
client-idOIDC client ID
client-secretOIDC client secret
portPort stubidp is running on