Self-hosted alternatives to react-oidc-context
200 self-hosted apps like react-oidc-context, closest match first.
Top picks
- P

Pocket ID
LaunchPocket ID is a self-hosted OpenID Connect and OAuth 2.0 provider that lets users sign in to your apps with passkeys instead of passwords. It is OpenID Connect Certified and works with any OIDC-compatible application, so you can use it as th
Open sourceSelf-hosted
- R
Rauthy
LaunchRauthy is a lightweight identity provider written in Rust. It supports OpenID Connect, OAuth 2 and PAM logins, and it aims to be simple to set up and run, with secure defaults and many configuration options when you need them. It puts heavy
Open sourceSelf-hosted
- O
OAuth2 Proxy
LaunchOAuth2 Proxy is a reverse proxy and static file server that puts sign-in in front of other web services. It uses an external identity provider such as Google or GitHub to log users in, then lets through only the accounts that match the rule
Open sourceSelf-hosted
- V
Voidauth
LaunchVoidAuth is an open-source single sign-on provider and user management system. It sits in front of your self-hosted applications and handles who can sign in to them, so you manage accounts in one place rather than in each app. The site desc
Open sourceSelf-hosted
- A
Authentik
Launchauthentik is an open-source Identity Provider designed to offer flexibility and versatility. It supports a wide range of authentication protocols and can be used as a self-hosted replacement for large-scale deployments of commercial identit
Open sourceSelf-hosted
- T
Tinyauth
LaunchTinyauth is a lightweight authentication and authorization server for self-hosted applications. The site describes it as an OpenID Connect certified provider. It works out of the box using only environment variables, so there are no dashboa
Open sourceSelf-hosted
More like react-oidc-context
Actions--access-token
Get rid of personal access tokens (PAT) and credential management, use…
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




