InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more โ
Top 17 TypeScript Oidc Projects
-
Project mention: Launch HN: Better Auth (YC X25) โ Authentication Framework for TypeScript | news.ycombinator.com | 2025-05-19
Does it handle:
- Federated sign-in/out? In next-auth, it is a giant pain to implement: https://github.com/nextauthjs/next-auth/discussions/3938
- Automated refreshing of JWT tokens on the client-side? I always end up having to implement my own logic around this. The big problem is if you have multiple API calls going out and they all require JWT auth, you need to check the JWT validity and block the calls until it is refreshed. In next-auth on the server-side, this is impossible to do since that side is generally stateless, and so you end up with multiple refresh calls happening for the same token.
- The ability to have multiple auth sessions at once, like in a SaaS app where you might belong to multiple accounts / organizations (your intro paragraph sounds like it does)
- Handle how multiple auth sessions are managed if the user happens to open up multiple tabs and swaps accounts in another tab
-
InfluxDB
InfluxDB โ Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
polis
๐ฅ Streamline your web application's authentication with Polis, an SSO service supporting SAML and OpenID Connect protocols. Beyond enterprise-grade Single Sign-On, it also supports Directory Sync via the SCIM 2.0 protocol for automatic user and group provisioning/de-provisioning. ๐คฉ
Project mention: Launch HN: SSOReady (YC W24) โ Making SAML SSO Painless and Open Source | news.ycombinator.com | 2024-07-30Congrats on the launch! How does this compare to BoxyHQ's SAML Jackson [1]?
[1]: https://github.com/boxyhq/jackson
-
-
oidc-client-ts
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Project mention: How to Obtain an OIDC ID Token for SpacetimeDB Using Next.js and Auth0 | dev.to | 2025-04-26For React/Next.js apps, I recommend using react-oidc-context. For other TypeScript frameworks, oidc-client-ts works well.
-
angular-auth-oidc-client
npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
-
react-oidc-context
Lightweight auth library based on oidc-client-ts for React single page applications (SPA). Support for hooks and higher-order components (HOC).
Project mention: How to Obtain an OIDC ID Token for SpacetimeDB Using Next.js and Auth0 | dev.to | 2025-04-26For React/Next.js apps, I recommend using react-oidc-context. For other TypeScript frameworks, oidc-client-ts works well.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Show HN: Bknd โ Firebase alternative that embeds into any React stack | news.ycombinator.com | 2025-03-25
Similar to Firebase it's multi-strategy based. You can use a combo of email/password or OAuth/OIDC (internally using https://github.com/panva/oauth4webapi) โ currently there are 2 pre-configured (Google, Github), but it's easy to extend, so requests are welcome.
On the Authorization side, you can create roles and attach permissions to it. Those roles then get attached to users.
Claims are transported via JWT, you can configure its lifetime, secret and hashing. Currently it's stateless, meaning the token is not checked in a session store. But if there is demand, I'd prioritize adding this. I'm mainly exactly looking for feedback to prioritize next additions.
Hope this helps.
-
Project mention: Implementing Microsoft Entra Certificate-Based Authentication with Playwright | dev.to | 2024-09-18
import { DefaultAzureCredential } from '@azure/identity'; import { SecretClient } from '@azure/keyvault-secrets'; import { test as base } from '@playwright/test' // DefaultAzureCredential automatically detects and uses the most appropriate authentication method, // including environment variables, managed identities, and OIDC tokens from GitHub Actions. // We recommend OIDC logins via e.g. azure/login: // https://github.com/Azure/login/?tab=readme-ov-file#login-with-openid-connect-oidc-recommended const credential = new DefaultAzureCredential(); const vaultName = ''; const KEYVAULT_URI = `https://${vaultName}.vault.azure.net`; const secretName = ''; const secretClient = new SecretClient(KEYVAULT_URI, credential); export const test = base.extend({ clientCertificates: async ({ }, use) => { const certificateSecret = await secretClient.getSecret(secretName); await use([ { origin: 'https://certauth.login.microsoftonline.com', // Alternatively, if you use e.g. PPE, it's: https://certauth.login.windows-ppe.net pfx: Buffer.from(certificateSecret.value!, 'base64'), // You might need to provide your passphrase here: // passphrase: process.env.SECRET_PASSPHRASE } ]); } }); export { expect } from '@playwright/test'
-
-
You can choose the framework you are using in the Logto Quick start page to integrate Logto with your frontend application. In this guide we use React as an example.
-
Module Example with keycloak-js
-
Project mention: Top 5 Open Source Identity and Access Management (IAM) providers 2025 | dev.to | 2025-03-26
Home page | GitHub Repo | Documentation | Discord community
-
nw-auth
๐ซ Node way auth is a third-party-login component developed by node-way that has ๐ small code size, ๐ less interface exposure, and ๐ฅ no runtime library.
-
cidaas SDK for JS
With this SDK, you can integrate cidaas smoothly and with minimal effort into your javascript application. It enables you to map the most important user flows for OAuth2 and OIDC compliant authentication. Secure โ Fast โ And unrivaled Swabian.
-
-
frontegg-vite-react-ts
a simple Frontegg integration sample React app for authentication, authorization, OAuth/OIDC, ...
This is a quick start guide with an accompanying sample app on integrating authentication into a client-side React app using Frontegg's React SDK.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
TypeScript Oidc discussion
TypeScript Oidc related posts
-
How to Obtain an OIDC ID Token for SpacetimeDB Using Next.js and Auth0
-
Show HN: Bknd โ Firebase alternative that embeds into any React stack
-
Top 5 Open Source Identity and Access Management (IAM) providers 2025
-
How to implement oAuth with PKCE for third-party integration in react
-
Oauth4webapi
-
Learn OAuth by building a client with Node.js
-
๐ Top 12 Open Source Auth Projects Every Developer Should Know ๐
-
A note from our sponsor - InfluxDB
www.influxdata.com | 18 Jun 2025
Index
What are some of the best open-source Oidc projects in TypeScript? This list will help you:
# | Project | Stars |
---|---|---|
1 | next-auth | 26,918 |
2 | openid-client | 2,084 |
3 | polis | 2,085 |
4 | defguard | 2,086 |
5 | oidc-client-ts | 1,650 |
6 | angular-auth-oidc-client | 1,197 |
7 | react-oidc-context | 857 |
8 | oauth4webapi | 648 |
9 | login | 388 |
10 | serendipity | 385 |
11 | js | 84 |
12 | nuxt-openid-connect | 43 |
13 | casdoor-js-sdk | 37 |
14 | nw-auth | 20 |
15 | cidaas SDK for JS | 10 |
16 | okta-angular-dynamic-components-example | 9 |
17 | frontegg-vite-react-ts | 1 |