oidc-client-ts
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 89
- Release rhythm 62
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 51.0
- age_days: 1878
- days_rel: 173
- days_push: 70
- n_releases_24m: 9
Adoption not part of the score
1944 stars · 271 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
oidc-client-ts is a TypeScript library providing OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications, including user session and access token management. It is an actively maintained fork of the discontinued oidc-client-js, with a companion react-oidc-context package offering React context-based state management for authentication.
Use cases
- add OIDC login to a single-page application
- implement OAuth2 authorization code flow with PKCE in the browser
- manage access tokens and silent refresh in a JavaScript app
- authenticate a React app against an identity provider
- sign users in and out with an OpenID Connect provider
- handle refresh tokens and iframe-based silent renew
- migrate from the deprecated oidc-client-js library
When to choose
- you need a spec-compliant, browser-side OIDC/OAuth2 client in TypeScript
- your SPA uses authorization code flow with PKCE against providers like Auth0, Keycloak, or IdentityServer
- you want React integration via context API
- you need session and token management without a full framework
When to avoid
- you need the implicit grant, which is no longer supported
- you need server-side or native mobile OAuth flows rather than browser-based ones
- you want a batteries-included UI with login screens rather than a protocol library
- you need OAuth 2.0 grants outside the OAuth 2.1 trajectory
Facets
library · maturity active
auth http-client sdk security web-development frontend apis browser cross-platform oidc oauth2 openid-connect authentication pkce token-management react session-management browser-based nodejs typescript
4 sources
- readme: https://github.com/authts/oidc-client-ts · fetched 2026-08-28 · 9f8a6ed17be3
- homepage: https://authts.github.io/oidc-client-ts/ · fetched 2026-08-29 · ed266178e0b9
- registry_npm: https://registry.npmjs.org/oidc-client-ts · fetched 2026-08-29 · c1cac5186a4b
- registry_npm: https://registry.npmjs.org/react-oidc-context · fetched 2026-08-29 · 92f9fc96737a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| authts/oidc-client-ts | main | 82 |
| authts/react-oidc-context | plugin | 77 |
For agents
markdown · JSON · MCP: product_card(name="authts/oidc-client-ts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem