Overview of the Test OpenID Provider
mainThe Test OpenID provider is a throwaway OpenID Connect (OIDC) identity provider (similar to Okta or OneLogin) designed to test Internet Identity's (II) OpenID and SSO sign-in flows. It is built on node-oidc-provider and provides the necessary endpoints for II's two-hop SSO discovery process.
Warning: This is for test/dev only. It uses in-memory storage, dev signing keys, hardcoded credentials, and sets Access-Control-Allow-Origin: *. Never use this as a real Identity Provider.
Supported Endpoints
| Endpoint | Purpose |
|---|---|
GET /.well-known/ii-openid-configuration | II's custom SSO indirection doc (client_id, openid_configuration URL, name) — hop 1 |
GET /.well-known/openid-configuration | Standard OIDC discovery (issuer, jwks_uri, authorization_endpoint, ...) — hop 2 |
GET /jwks | Signing keys II verifies the ID token against |
GET/POST /token | Token endpoints |
GET /auth | Authorization endpoint |
POST /account/:id/claims | Test helper: set the claims an account returns in its ID token |