Free alternatives to react-oidc-context
200 free apps like react-oidc-context, closest match first.
Top picks
- R

redux-oidc
Launchredux-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
- R

react-simple-oauth2-login
Launchreact-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
- R

@react-oauth/google
LaunchReact 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,
- A

auth0-react
GetThe 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
- O
Oidc Client TS
Launchoidc-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
- R

react-facebook-auth
Launchreact-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

nextjs-authentication
Provides authentication implementation patterns for Next.js 15+ App Router
About react-oidc-context

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















