Skip to content

Commit 3eb3f40

Browse files
Add fix for making continue with passkey component show up
1 parent 3826230 commit 3eb3f40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ts/recipe/webauthn/recipe.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import type {
3535
RecipeInitResult,
3636
} from "../../types";
3737
import type RecipeModule from "../recipeModule";
38+
import { FactorIds } from "../multifactorauth";
3839

3940
export default class Webauthn extends AuthRecipe<
4041
GetRedirectionURLContext,
@@ -46,7 +47,7 @@ export default class Webauthn extends AuthRecipe<
4647
static RECIPE_ID = "webauthn";
4748

4849
recipeID = Webauthn.RECIPE_ID;
49-
firstFactorIds = [];
50+
firstFactorIds = [FactorIds.WEBAUTHN];
5051

5152
constructor(
5253
config: NormalisedConfigWithAppInfoAndRecipeID<NormalisedConfig>,

0 commit comments

Comments
 (0)