Use this file to discover Exa products, pricing, evaluations, comparisons, use cases, agent interfaces, and technical documentation before exploring further.
JavaScript OAuth libraries run the OAuth and OpenID Connect flows that let an app act for a user at another service. A client sends the user to the provider's authorization page and exchanges the returned code for tokens. These libraries let apps offer sign-in with an identity provider and let agents call APIs with a user's delegated permission.
Popularity
oauth4webapi has the most monthly downloads in this comparison, at 94.0M.
openid-client suits server code that runs full OAuth and OpenID Connect flows. oidc-client-ts suits browser apps that manage sign-in and token renewal. passport-oauth2 suits Express apps that already authenticate through Passport.
PKCE, or Proof Key for Code Exchange, binds an authorization code to the client that requested it. The client sends a hashed secret with the authorization request and the original secret with the token request. openid-client and oauth4webapi generate PKCE values.
openid-client is an OAuth and OpenID Connect client for JavaScript runtimes. It handles issuer discovery, authorization URLs, several grant types, and PKCE.
react-oidc-context wraps oidc-client-ts in a React provider and hooks. It intercepts the sign-in callback and exposes the authentication state to components.
OAuth grants an app access to a user's resources at another service. OpenID Connect adds an identity layer on top of OAuth with an ID token that says who the user is.
For coding agents
Found your OAuth clients library? Help your agent use it.
Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.