stubIDP DEV ONLY
OpenID Connect & OAuth 2.0

Mock identity provider
for developers

Stop waiting for identity providers. Start building.
Zero config. Instant OIDC for local dev and CI/CD.

Register a new client

Use nacho by CerberAuth to create and manage your OIDC clients. Get your client_id and client_secret in seconds.

Create a client at nacho.cerberauth.com →

Quick Start

terminal
npx @cerberauth/stubidp \
  --client-id my-app \
  --client-secret my-secret \
  --redirect-uri http://localhost:8080/callback

Your OIDC provider will be live at https://stubidp.cerberauth.com

OIDC Endpoints

Endpoint URL
Discovery https://stubidp.cerberauth.com/.well-known/openid-configuration
Authorization https://stubidp.cerberauth.com/auth
Token https://stubidp.cerberauth.com/token
Device Authorization https://stubidp.cerberauth.com/device/auth
Token Revocation https://stubidp.cerberauth.com/token/revocation
Token Introspection https://stubidp.cerberauth.com/token/introspection
Userinfo https://stubidp.cerberauth.com/me
JWKS https://stubidp.cerberauth.com/jwks
End Session https://stubidp.cerberauth.com/session/end

Why StubIdP?

⚡

Zero Config

One command to start. No accounts, no registration required.

✅

Fully Compliant

Built on oidc-provider, a certified OpenID Connect implementation.

🚀

Deploy Anywhere

Local, Docker, or Cloudflare Workers. One-click deployment.

🪪

Client ID Metadata Documents

Register-free clients via the CIMD draft — --enable-cimd.

⚠

Development use only

StubIdP is not suitable for production. Do not use it to protect real user data or credentials.