Nia Auth signs your users in to the product you sell and your employees in to the tools you run. Both share one console and one audit trail.
Start building freeA working demo of the hosted login. Nothing you type leaves this page.
These are Northwind's four access policies. Change the sign-in and see which ones fire. The console has the same what-if check for your own rules.
It is OAuth 2.0 and OpenID Connect underneath, so any standard library works. We also write a guide for each of these:
React, Next.js, Angular, Vue, Django, FastAPI, Flask, Express, NestJS, Spring Boot, ASP.NET, Go, Laravel, Android, iOS, Flutter
Open the quickstartimport { NiaAuthProvider, useAuth } from '@nia-auth/react';
export function App() {
return (
<NiaAuthProvider clientId="[YOUR CLIENT ID]">
<Profile />
</NiaAuthProvider>
);
}
function Profile() {
const { user, signIn } = useAuth();
return user ? <p>Hi {user.name}</p> : <button onClick={signIn}>Sign in</button>;
}