diff --git a/lib/ts/recipe/webauthn/recipeImplementation.ts b/lib/ts/recipe/webauthn/recipeImplementation.ts index 0d2a29c33..952c11a02 100644 --- a/lib/ts/recipe/webauthn/recipeImplementation.ts +++ b/lib/ts/recipe/webauthn/recipeImplementation.ts @@ -316,9 +316,9 @@ export default function getRecipeInterface( }, getUserFromRecoverAccountToken: async function ({ token, tenantId, userContext }) { - return await querier.sendPostRequest( + return await querier.sendGetRequest( new NormalisedURLPath( - `/${tenantId === undefined ? DEFAULT_TENANT_ID : tenantId}/recipe/webauthn/user/recover/token` + `/${tenantId === undefined ? DEFAULT_TENANT_ID : tenantId}/recipe/webauthn/user/recover` ), { token }, userContext