Quick Start

Get started with oidc.pub in minutes. Register a service, update your issuer URL, upload your OIDC configuration, and your discovery endpoint is live.

Step 1: Create a service

Sign in and register a new OIDC service. Paid plans can choose a custom subdomain. Free tier services receive an auto-assigned subdomain.

npx oidc.pub login
npx oidc.pub service create \
  --name "My Service" \
  --subdomain myservice

Step 2: Update your issuer URL

Configure your service to use https://myservice.oidc.pub as its issuer. Tokens minted after this change will carry the correct issuer claim that matches the public discovery endpoint.

Step 3: Upload your OIDC configuration

Push your openid-configuration and JWKS. Use the CLI sync command to fetch configuration directly from your issuer, or upload it manually via the API. The API rewrites the issuer and jwks_uri fields to point to your oidc.pub subdomain automatically.

npx oidc.pub service sync \
  --service myservice \
  --source-url https://your-issuer.internal \
  --once

Use the service subdomain as the API route reference. Existing UUID service IDs are still accepted for compatibility.

Step 4: Verify

Your OIDC discovery endpoint is live within 60 seconds.

curl https://myservice.oidc.pub/.well-known/openid-configuration | jq .