package
Auth0 Universal Components for React - pre-built UI components for organization management, SSO configuration, and MFA enrollment
npm install @auth0/universal-components-reactGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.

Auth0 Universal Components for React - pre-built UI components for organization management, SSO configuration, and MFA enrollment.
📚 Documentation - 🚀 Getting Started - 💬 Feedback
For SPA (Single Page Application):
npm install @auth0/universal-components-react @auth0/auth0-react react-hook-formFor Next.js/Server-Side (RWA):
npm install @auth0/universal-components-react react-hook-formBefore using these components, you need an Auth0 account and application:
For detailed setup instructions, follow the Auth0 React Quickstart.
import { Auth0Provider } from '@auth0/auth0-react';
import { Auth0ComponentProvider } from '@auth0/universal-components-react/spa';
import { OrganizationDetailsEdit } from '@auth0/universal-components-react';
import '@auth0/universal-components-react/styles';
function App() {
return (
<Auth0Provider
domain="your-domain.auth0.com"
clientId="your-client-id"
authorizationParams={{
redirect_uri: window.location.origin,
}}
interactiveErrorHandler="popup" // Required to handle step-up auth challenges via Universal Login popup
>
<Auth0ComponentProvider themeSettings={{ theme: 'default', mode: 'light' }
// app/layout.tsx or pages/_app.tsx
import { Auth0ComponentProvider } from '@auth0/universal-components-react/rwa';
import '@auth0/universal-components-react/styles';
export default function RootLayout({ children }) {
return (
<html>
<body>
<Auth0ComponentProvider
domain="your-domain.auth0.com"
mode="proxy"
proxyConfig={{ baseUrl: '/api/auth' }}
themeSettings={{ theme: 'default', mode: 'light' }}
>
{children}
</Auth0ComponentProvider>
</
import { OrganizationDetailsEdit } from '@auth0/universal-components-react';
function MyPage() {
return (
<div>
<h1>Organization Settings</h1>
<OrganizationDetailsEdit />
</div>
);
}/spa entry point only)We appreciate feedback and contribution to this repo! Before you get started, please read the following:
To provide feedback or report a bug, please raise an issue on our issue tracker.
Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?
This project is licensed under the Apache 2.0 license. See the LICENSE file for more info.
auth0npm
devops+npm@auth0.com
oktajeffoktajeff
jeff.shuman@okta.com
bsmith-auth0
brian.s.smith@okta.com
sanjay.manikandhan
sanjay.manikandhan@okta.com
nirjo
nirmal.joishi@okta.com
niltorresatko
nil.torres@okta.com
jaskirat_atko
jaskirat.singh@okta.com
henry.mcardle
henry.mcardle@okta.com
nicolas.villalobos
nicolas.villalobos@okta.com
choah
choah.jung@auth0.com
josecarlos-chavez_atko
josecarlos.chavez@okta.com
skatko
saurabh.kumar@okta.com
tj.okta
tirone.pama@auth0.com
sgarcia-atko
sergio.garciaramos@okta.com
roger.chan
roger.chan@auth0.com
maaantone
michael.antone@auth0.com
lewisbyrne-okta
lewis.byrne@okta.com
tarunpreet.kaur
tarunpreet.kaur@okta.com
Estimated unpacked size across 65 packages.
58.4 MB+
Includes dependencies.
26 direct · 3 outdated
^3.25.56
4.6.7
^2.1.1
2.1.1
^1.5.4
1.5.4
^2.0.5
2.0.8
^1.16.0
1.73.0
^2.9.2
2.10.4
^5.1.0
7.0.6
^1.2.3
1.5.0
^1.1.12
1.2.1
^2.1.7
2.1.17
^8.21.3
9.3.1
^1.1.14
1.3.1
^2.2.5
2.4.1
^1.1.0
1.4.1
^1.1.14
1.3.1
^1.2.7
1.4.1
^2.1.1
2.2.1
^1.1.1
1.4.1
^0.7.1
0.7.1
1.3.1
1.5.1
2.2.1
3.5.5