
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@bernierllc/auth-ui
Advanced tools
React authentication components with built-in integration for auth-service
React authentication components with built-in integration for @bernierllc/auth-service.
npm install @bernierllc/auth-ui
npm install react react-dom
import React from 'react';
import { AuthProvider, LoginForm } from '@bernierllc/auth-ui';
function App() {
return (
<AuthProvider config={{ apiBaseUrl: 'https://api.example.com' }}>
<LoginForm
onSuccess={(user) => console.log('Login successful:', user)}
redirectTo="/dashboard"
/>
</AuthProvider>
);
}
LoginForm - User login with email/password and MFA supportRegisterForm - User registration with validationPasswordReset - Password reset request flowMFASetup - Configure two-factor authenticationTOTPSetup - Set up TOTP authenticator appMFAVerify - Verify MFA code during loginBackupCodes - Display and save backup codesProfileForm - Edit user profile informationPasswordChange - Change password with validationSecuritySettings - Manage security settings and MFAimport { ProtectedRoute } from '@bernierllc/auth-ui';
<ProtectedRoute requireRole="admin">
<AdminPanel />
</ProtectedRoute>
Access authentication state and methods:
const { user, isAuthenticated, login, logout, register } = useAuth();
Check user permissions and roles:
const { hasPermission, hasRole, hasAnyPermission } = usePermissions();
Manage multi-factor authentication:
const { setupTOTP, verifyTOTP, disableMFA } = useMFA();
Copyright (c) 2025 Bernier LLC - All Rights Reserved
FAQs
React authentication components with built-in integration for auth-service
We found that @bernierllc/auth-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.