Skip to content
react-oidc-context

Alternatives to react-oidc-context

200 apps like react-oidc-context, closest match first.

Top picks

  1. R

    redux-oidc

    Launch

    redux-oidc is a package for managing OpenID Connect authentication in React and Redux apps. It wraps the oidc-client-js library in Redux actions and reducers, so sign-in state can live in your store. The package handles the OpenID Connect i

  2. R

    react-simple-oauth2-login

    Launch

    react-simple-oauth2-login is a React component that adds OAuth2 login to an app. It displays as a simple button, and clicking it opens the authorization screen of your chosen provider in a popup, so the app keeps its state while the user si

  3. R

    @react-oauth/google

    Launch

    React OAuth is a collection of OAuth2 libraries for React applications, from the MomenSherif react-oauth repository. The Google package, @react-oauth/google, uses the Google Identity Services SDK to add Sign In With Google, one-tap sign-up,

  4. A

    auth0-react

    Get

    The auth0-react skill helps an agent add Auth0 login, logout, protected routes and user sessions to a React single-page app, using the @auth0/auth0-react SDK. It supports React 16.11 and later, including React 18 and 19, in apps built with

  5. O

    Oidc Client TS

    Launch

    oidc-client-ts is a JavaScript and TypeScript library that adds OpenID Connect and OAuth 2.0 sign-in to browser-based applications. It handles user sessions and access token management on the client side. The library started as a fork of Id

    Open source

  6. R

    react-facebook-auth

    Launch

    react-facebook-auth is a React component for Facebook login. It lets a developer receive a Facebook authentication token that a backend service can then use. You pass your Facebook application ID, a comma-separated scope of extended permiss

More like react-oidc-context

7
S

Spring Addons

OAuth2 / OIDC for Spring backends of SPAs

Launch
8
C

clerk-react-patterns

React SPA auth patterns with @clerk/react for Vite/CRA

Get
9
O

Oidc Spa

OpenID Connect solution for browser-centric web apps

Launch
10
O

Oauth4webapi

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

Launch
11
R

react-apple-signin-auth

Apple signin for React using the official Apple JS SDK

Launch
12
R

react-facebook-login

A Component React for Facebook Login

Launch
13
O

Oidc.Server

Flexible OpenID Connect and OAuth 2.0 server-side implementation

Launch
14
D

@daveyplate/better-auth-ui

Plug & play shadcn/ui components for better-auth

Launch
15
A

auth0-nextjs

Adding Auth0 login, logout, protected pages

Get
16
E

Express Openid Connect

An Express.js middleware to protect OpenID Connect web applications

Launch
17
R

react-native-touch-id

React Native authentication with the native Touch ID popup

Launch
18
A

Auth.js

Authentication for the Web

Launch
19
V

Vouch Proxy

an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

Launch
20
H

Hass Openid

OIDC integration for Home Assistant

Launch
21
C

clerk-react-router-patterns

React Router v7/v8 patterns with Clerk

Get
22
O

Oauth2 Proxy

A reverse proxy that provides authentication

Launch
23
R

react-contexify

Add contextmenu to your react component with ease

Launch
24
R

Rauthy

Single Sign-On Identity & Access Management via OpenID Connect, OAuth 2, PAM

Launch
25
D

Dex

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors

Launch
26
N

NextAuth

Authentication for Next.js

Launch
27
P

Pocket ID

Self-hostable OpenID Connect and OAuth 2.0 provider

Launch
28
R

react-firebase-hooks

Hooks to integrate firebase in your application

Launch
29
O

oauth

Implements OAuth 2.0/2.1 authorization flows in Fastify applications

Get
30
M

Melody Auth

Opensource auth/oauth system

Launch
31
N

nextjs-authentication

Provides authentication implementation patterns for Next.js 15+ App Router

Get
32
R

Rauthy

Lightweight and simple identity provider

Launch
33
R

@rc-component/portal

React Portal Component

Launch
34
B

Better Auth RS

Rust backend implementation of @better-auth

Launch
35
C

clerk-tanstack-patterns

TanStack React Start auth patterns with @clerk/tanstack-react-start

Get
36
R

react-google-recaptcha

React Component Wrapper for Google reCAPTCHA

Launch
37
R

react-modal

Accessible modal dialog component for React

Launch
38
K

knock-codes

Copy-paste, session-gated access blocks for React

Launch
39
R

react-joyride

Create walkthroughs and guided tours for your ReactJS apps

Launch
40
C

convex-auth

Add authentication (passkeys/OAuth) to the current Convex app

Get
41
C

Clerk

Authentication and User Management

Launch
42
O

OxAuth

OAuth 2.0 server and client; OpenID Connect Provider

Launch
43
O

Oauthenticator

OAuth + JupyterHub Authenticator = OAuthenticator

Launch
44
B

@boxyhq/react-ui

React UI components from BoxyHQ

Launch
45
O

oauth-oidc-misconfiguration

OAuth and OIDC misconfiguration testing playbook

Get
46
O

Obligator

Simple and opinionated OpenID Connect server designed for self-hosters

Launch
47
K

Keycloak

Comprehensive open source identity management solution offering single sign-on

Launch
48
R

react-retool

A React wrapper for embedding Retool apps

Launch
49
O

OAuth2 Proxy

Reverse proxy and authentication middleware

Launch
50
T

@tryvital/vital-link

React hooks and components for integrating with the Vital Link

Launch

About react-oidc-context

R

react-oidc-context

OpenID Connect & OAuth2 authentication

react-oidc-context is a lightweight authentication library for React single-page applications. It handles OpenID Connect and OAuth 2 sign-in using the oidc-client-ts library and React's context API for state management. You wrap your application in an AuthProvider, configured with your OpenID Connect settings, and the provider holds the user and the user manager and intercepts the redirect parameters after sign-in. Components then call the useAuth hook to read the loading state, whether the user is authenticated and the user object, and to call sign-in, remove-user and sign-out methods. For class components there is a withAuth higher-order component that adds an auth property. Protected routes can be wrapped with withAuthenticationRequired, which sends anonymous visitors to the login page. A callback in the configuration removes the login payload from the URL after a successful sign-in, which the README says is needed so that silent renewal keeps working on refresh. Access tokens can be renewed silently through oidc-client-ts. Other documented patterns include calling a protected API with the access token, adding event listeners through the hook, and automatic sign-in after the tab is reopened. The library is installed with npm or yarn, and it is aimed at teams building single-page apps that need login through an identity provider.

Price
Free
Made by
pamapa
Category
UI Libraries
Website
github.com/authts/react-oidc-context