TypeScript Oidc

Open-source TypeScript projects categorized as Oidc

Top 17 TypeScript Oidc Projects

  1. next-auth

    Authentication for the Web.

    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

  2. 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.

    InfluxDB logo
  3. openid-client

    OAuth 2 / OpenID Connect Client API for JavaScript Runtimes

  4. 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-30

    Congrats on the launch! How does this compare to BoxyHQ's SAML Jackson [1]?

    [1]: https://github.com/boxyhq/jackson

  5. defguard

    Zero-Trust access management with true WireGuardยฎ 2FA/MFA

    Project mention: WireGuard: Beyond the Most Basic Configuration | news.ycombinator.com | 2024-11-24
  6. 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-26

    For React/Next.js apps, I recommend using react-oidc-context. For other TypeScript frameworks, oidc-client-ts works well.

  7. angular-auth-oidc-client

    npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow

  8. 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-26

    For React/Next.js apps, I recommend using react-oidc-context. For other TypeScript frameworks, oidc-client-ts works well.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. oauth4webapi

    Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes

    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.

  11. login

    Connect to Azure

    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'

  12. serendipity

    Serendipity is an open-source Customer Engagement Platform. (by Robinyo)

  13. js

    ๐Ÿค“ Logto Node.js, browser, and edge computing SDKs. (by logto-io)

    Project mention: How to use Logto for your Encore application | dev.to | 2025-04-09

    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.

  14. nuxt-openid-connect

    OpenID-Connect(OIDC) integration module for nuxt 3.0.

    Project mention: How to connect keycloak and Nuxt | dev.to | 2024-07-08

    Module Example with keycloak-js

  15. casdoor-js-sdk

    Javascript client SDK for Casdoor

    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

  16. 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.

  17. 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.

  18. okta-angular-dynamic-components-example

    Loading Components Dynamically in an Angular App

  19. frontegg-vite-react-ts

    a simple Frontegg integration sample React app for authentication, authorization, OAuth/OIDC, ...

    Project mention: Add Authentication to your React App with Frontegg | dev.to | 2025-03-28

    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.

  20. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript Oidc discussion

Log in or Post with

TypeScript Oidc related posts

  • How to Obtain an OIDC ID Token for SpacetimeDB Using Next.js and Auth0

    3 projects | dev.to | 26 Apr 2025
  • Show HN: Bknd โ€“ Firebase alternative that embeds into any React stack

    2 projects | news.ycombinator.com | 25 Mar 2025
  • Top 5 Open Source Identity and Access Management (IAM) providers 2025

    5 projects | dev.to | 26 Mar 2025
  • How to implement oAuth with PKCE for third-party integration in react

    1 project | dev.to | 30 Sep 2024
  • Oauth4webapi

    1 project | news.ycombinator.com | 11 Jul 2024
  • Learn OAuth by building a client with Node.js

    1 project | news.ycombinator.com | 16 Apr 2024
  • ๐Ÿš€ Top 12 Open Source Auth Projects Every Developer Should Know ๐Ÿ”‘

    9 projects | dev.to | 6 Dec 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 Jun 2025
    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 โ†’

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

Sponsored
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.
www.influxdata.com

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?