ultisuite-client/lib/auth/auth-flow-slugs.ts
R3D347HR4Y de5b5a60ef
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat: enhance authentication and password reset flows with new components and layout
- Replaced LoginForm with LoginPageContent for improved login handling and user experience.
- Introduced ResetPasswordPage and ResetPasswordLayout components to facilitate password reset functionality.
- Added new flow stages for authentication, including PasswordStage and SourceOAuthStage, to streamline user interactions.
- Updated FlowChallengeForm to integrate new stages and improve error handling during authentication processes.
- Refactored existing components to support the new authentication flow structure, enhancing maintainability and user experience.
2026-06-20 01:09:30 +02:00

13 lines
415 B
TypeScript

/** Authentik flow slugs used by Ulti custom auth UI. */
export const AUTH_FLOW_SLUGS = {
enrollment: "ulti-enrollment",
recovery: "ulti-recovery",
authentication: "default-authentication-flow",
} as const
export type AuthFlowSlug = (typeof AUTH_FLOW_SLUGS)[keyof typeof AUTH_FLOW_SLUGS]
export function isAuthenticationFlow(slug: AuthFlowSlug): boolean {
return slug === AUTH_FLOW_SLUGS.authentication
}