Lightweight auth library based on oidc-client-ts for React single page applications (SPA). Support for hooks and higher-order components (HOC).
The react-oidc-context is a lightweight authentication library for React single page applications (SPAs) that uses the oidc-client-ts library. It provides support for hooks and higher-order components (HOC) for easy integration and authentication management.
oidc-client-ts libraryTo install the react-oidc-context library, you can use either npm or yarn. Here are the installation commands:
# Using npm
npm install react-oidc-context
# Using yarn
yarn add react-oidc-context
The react-oidc-context is a lightweight authentication library for React SPAs that integrates with the oidc-client-ts library. It provides easy authentication management with support for hooks and higher-order components. With features like intercepting auth redirects and automatic silent token renewal, it offers a convenient solution for implementing authentication in React applications.