Skip to content
react-oidc-context

Open source alternatives to react-oidc-context

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

Top picks

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

  2. S

    Spring Addons

    Launch

    OAuth2 / OIDC for Spring backends of SPAs and mobile apps: the Spring Security beans the official starters leave to you (authorities, CORS, 2xx/401 for fetch, CSRF cookie, validated redirects, logout, one refresh flow at a time), as propert

    Open source

  3. O

    Oidc Spa

    Launch

    oidc-spa is an OpenID Connect client library for browser-based single-page apps. It lets you add login without being tied to one identity provider. The site compares it with provider-specific SDKs such as keycloak-js, auth0-spa-js and MSAL.

    Open source

  4. O

    Oauth4webapi

    Launch

    oauth4webapi is a low-level client library for OAuth 2 and OpenID Connect that runs in browsers and in other JavaScript runtimes. Instead of a framework plugin, it gives you the building blocks to write your own client: discovery of authori

    Open source

  5. R

    react-apple-signin-auth

    Launch

    react-apple-signin-auth is a React component for Sign in with Apple, built on Apple's official JavaScript SDK. To use it, you need an Apple Developer Program account, an App ID and a Service ID, and a private key generated for the Service I

  6. R

    react-facebook-login

    Launch

    React Facebook Login is a React component for adding a Facebook login button to a React app. You install it with yarn or npm, and your application also needs react and react-dom. The README shows a basic button with styling, and a version w

    Open source

More like react-oidc-context

7
O

Oidc.Server

Flexible OpenID Connect and OAuth 2.0 server-side implementation

Launch
8
E

Express Openid Connect

An Express.js middleware to protect OpenID Connect web applications

Launch
9
A

Auth.js

Authentication for the Web

Launch
10
V

Vouch Proxy

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

Launch
11
H

Hass Openid

OIDC integration for Home Assistant

Launch
12
O

Oauth2 Proxy

A reverse proxy that provides authentication

Launch
13
R

Rauthy

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

Launch
14
D

Dex

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

Launch
15
N

NextAuth

Authentication for Next.js

Launch
16
P

Pocket ID

Self-hostable OpenID Connect and OAuth 2.0 provider

Launch
17
R

react-firebase-hooks

Hooks to integrate firebase in your application

Launch
18
M

Melody Auth

Opensource auth/oauth system

Launch
19
R

Rauthy

Lightweight and simple identity provider

Launch
20
B

Better Auth RS

Rust backend implementation of @better-auth

Launch
21
R

React Native Inappbrowser

InAppBrowser for React Native (Android & iOS)

Launch
22
K

knock-codes

Copy-paste, session-gated access blocks for React

Launch
23
R

react-joyride

Create walkthroughs and guided tours for your ReactJS apps

Launch
24
O

OxAuth

OAuth 2.0 server and client; OpenID Connect Provider

Launch
25
O

Oauthenticator

OAuth + JupyterHub Authenticator = OAuthenticator

Launch
26
O

Obligator

Simple and opinionated OpenID Connect server designed for self-hosters

Launch
27
K

Keycloak

Comprehensive open source identity management solution offering single sign-on

Launch
28
O

OAuth2 Proxy

Reverse proxy and authentication middleware

Launch
29
R

react-pro-sidebar

high level and customizable side navigation

Launch
30
R

react-toastify

React notification made easy

Launch
31
R

react-contextmenu

Context Menu implemented in React

Launch
32
G

Goiabada

Goiabada is an OAuth2 / OpenID Connect server written in Go

Launch
33
P

pac4j

Security engine for Java (authentication, authorization, multi frameworks)…

Launch
34
A

Authentik

authentik is an open-source identity provider

Launch
35
S

sweetalert2-react-content

Official SweetAlert2 enhancer adding support for React elements as content

Launch
36
T

TheIdServer

OpenID/Connect, OAuth2, WS-Federation

Launch
37
A

Auth

UX-focussed Turnkey Authentication Solution for Web Apps/APIs

Launch
38
V

Voidauth

Single Sign-On for Your Self-Hosted Universe

Launch
39
O

Openvpn Auth Oauth2

openvpn-auth-oauth2 is a plugin/management interface client

Launch
40
R

react-document-meta

Declarative, nested and stateful HTML document meta tags for React

Launch
41
R

React Page Visibility

Declarative, nested, stateful, isomorphic page visibility React component

Launch
42
A

Authentik

Open-source Identity Provider with flexibility

Launch
43
R

react-swipeable-views

A React Component for binded Tabs and Swipeable Views

Launch
44
T

Tinyauth

The tiniest OpenID Certified authorization

Launch
45
R

react-simple-captcha

A very simple and powerful captcha for ReactJS

Launch
46
S

@sooro-io/react-gtm-module

React Google Tag Manager Module

Launch
47
R

react-body-classname

A declarative, nested way to manipulate your body's className

Launch
48
R

@restart/ui

Utilities for creating robust overlay components

Launch
49
C

Cas

Apereo CAS - Identity & Single Sign On for all earthlings and beyond

Launch
50
L

Logto

Logto adds multi-tenancy, enterprise SSO, and RBAC to your SaaS or AI apps

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