Quickstart
Integrate AuthOS into your application in minutes.
Step 1: Install the client library
npm install @authos/reactStep 2: Initialize AuthOS
Wrap your application with the AuthOSProvider.
import { AuthOSProvider } from '@authos/react';
function App() {
return (
<AuthOSProvider publishableKey="your_publishable_key">
<YourApp />
</AuthOSProvider>
);
}Step 3: Use Auth components
import { SignIn, SignUp } from '@authos/react';
function AuthPage() {
return (
<div>
<SignIn />
<SignUp />
</div>
);
}Last updated on