React bindings for Keycloak
React Keycloak for Web requires:
- React 16.0 or later
keycloak-js9.0.2 or later
yarn add @react-keycloak/webor
npm install --save @react-keycloak/webor as a UMD package through unpkg
-
one for development: https://unpkg.com/@react-keycloak/web@latest/dist/umd/react-keycloak-web.js
-
one for production: https://unpkg.com/@react-keycloak/web@latest/dist/umd/react-keycloak-web.min.js
See @react-keycloak/web package README for complete documentation.
React Keycloak for NextJS requires:
- React 16.0 or later
- NextJS 9 or later
keycloak-js9.0.2 or later
yarn add @react-keycloak/nextjsor
npm install --save @react-keycloak/nextjsSee @react-keycloak/nextjs package README for complete documentation.
React Keycloak for Razzle requires:
- React 16.0 or later
- Razzle 3 or later
keycloak-js9.0.2 or later
yarn add @react-keycloak/razzleor
npm install --save @react-keycloak/razzleSee @react-keycloak/razzle package README for complete documentation.
| version | keycloak-js version |
|---|---|
| v2.0.0+ | 9.0.2+ |
| v1.x | >=8.0.2 <9.0.2 |
See @react-keycloak/react-keycloak-examples repository for various demo implementing this library main features.
Thanks goes to these wonderful people (emoji key):
Mattia Panzeri 🤔 💻 📖 🐛 🚧 📦 💬 👀 |
JannesD 🐛 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
If you found this project to be helpful, please consider buying me a coffee.

