e2d3a95c80
* migrate loading Signed-off-by: Jens Langhammer <jens@goauthentik.io> * migrate api browser Signed-off-by: Jens Langhammer <jens@goauthentik.io> * migrate base css Signed-off-by: Jens Langhammer <jens@goauthentik.io> * move tenant fetching to base interface Signed-off-by: Jens Langhammer <jens@goauthentik.io> * import pre-loaded stages in flow interface and not executor to strip down executor size Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix redirect and such Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
19 lines
916 B
TypeScript
19 lines
916 B
TypeScript
import { autoDetectLanguage } from "@goauthentik/common/ui/locale";
|
|
import "@goauthentik/elements/messages/MessageContainer";
|
|
import "@goauthentik/flow/FlowExecutor";
|
|
// Statically import some stages to speed up load speed
|
|
import "@goauthentik/flow/stages/access_denied/AccessDeniedStage";
|
|
// Import webauthn-related stages to prevent issues on safari
|
|
// Which is overly sensitive to allowing things only in the context of a
|
|
// user interaction
|
|
import "@goauthentik/flow/stages/authenticator_validate/AuthenticatorValidateStage";
|
|
import "@goauthentik/flow/stages/authenticator_webauthn/WebAuthnAuthenticatorRegisterStage";
|
|
import "@goauthentik/flow/stages/autosubmit/AutosubmitStage";
|
|
import "@goauthentik/flow/stages/captcha/CaptchaStage";
|
|
import "@goauthentik/flow/stages/identification/IdentificationStage";
|
|
import "@goauthentik/flow/stages/password/PasswordStage";
|
|
|
|
// end of stage import
|
|
|
|
autoDetectLanguage();
|