Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- 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.
13 lines
415 B
TypeScript
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
|
|
}
|