React Keycloak screenshot

React Keycloak

Author Avatar Theme by React keycloak
Updated: 3 Apr 2023
565 Stars

React/React Native/NextJS/Razzle components for Keycloak

Categories

Overview

React Keycloak is a set of React bindings for Keycloak, enabling integration with Keycloak authentication and authorization services in React applications. It provides support for various platforms including web, server-side rendering (SSR), and React Native.

Features

  • Web Integration: Requires React 16.0 or later and keycloak-js 9.0.2 or later.
  • SSR Support: Works with SSR frameworks like NextJS 9 or later and Razzle 3 or later.
  • React Native Compatibility: Requires React Native 61.0 or later.
  • Version Support: Different versions of React Keycloak support specific versions of keycloak-js.

Installation

To install React Keycloak for Web, you can use npm:

npm install @react-keycloak/web

For SSR support, install the SSR package:

npm install @react-keycloak/ssr

For React Native, install the native package:

npm install @react-keycloak/native

Summary

React Keycloak is a versatile library that facilitates the integration of Keycloak services into React applications. With support for web, SSR, and React Native platforms, developers can easily implement authentication and authorization features. The library offers compatibility with various versions of React and keycloak-js, making it a valuable tool for developers seeking Keycloak integration in their React projects.