MonoCloud’s React SDK lets you add authentication to your React single-page application.
Use it to:
The SDK builds on top of @monocloud/auth-web-js, reusing the same browser implementation (PKCE, redirects, popups, silent refresh, and cross-tab coordination) while providing a React provider, hooks, and components.
Install the SDK using your package manager:
npm install @monocloud/auth-react
View the source on GitHub: monocloud/auth-js
Start with the quickstart to see MonoCloud in action:
The quickstart walks you from a new Vite + React app to a signed-in user in a few minutes.
To integrate MonoCloud into your own app:
useAuth() hook