@drmhse/authos-react

React and Next.js adapter for AuthOS.

AuthOS release 0.8.5 Latest-only documentation
Updated Jul 15, 2026
On this page

React and Next.js adapter for AuthOS.

Install

npm install @drmhse/authos-react

Quick start

import { AuthOSProvider, SignIn } from '@drmhse/authos-react';

<AuthOSProvider config={{ baseURL: 'http://localhost:3001' }}>
  <SignIn />
</AuthOSProvider>

For Next.js client components:

NEXT_PUBLIC_AUTHOS_URL=http://localhost:3001
<AuthOSProvider config={{ baseURL: process.env.NEXT_PUBLIC_AUTHOS_URL! }}>
  {children}
</AuthOSProvider>

Canonical docs