Angular authentication library providing core functionality for authentication flows, guards, and error handling.
    
    Demo
    ·
    Documentation
    ·
    Report Bug
    ·
    Request Feature
demo.mov
- Install the package:
 
pnpm install @ngx-addons/omni-auth-core @ngx-addons/omni-auth-ui-material @ngx-addons/omni-auth-cognito- Configure the package:
 
import { configureAuth } from "@ngx-addons/omni-auth-core";
//...
prociders: [
  configureAuthCognitoConnector({
    cognito: {
      userPoolId: environment.cognito.userPoolId,
      userPoolClientId: environment.cognito.userPoolClientId,
    },
  }),
  configureAuth({
    authService: AuthAwsCognitoService,
  })
]
//...- Use UI:
 
<omni-auth-ui-mat></omni-auth-ui-mat>Documentation is available here.
- Zoneless: Designed to work without Angular's NgZone for performance optimization
 - Configurable: Flexible configuration system with default patterns
 - Routing Services: Authentication-aware routing utilities
 - Authentication Guards: Route protection with built-in auth guards
 - Error Handling: Comprehensive error collection and messaging system
 - Type Safety: Full TypeScript support with well-defined interfaces
 
See the LICENSE file for details.