mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 02:08:18 +00:00
password and passkey redirect test
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
ChallengeKind,
|
||||
LoginSettings,
|
||||
GetLoginSettingsResponse,
|
||||
ListAuthenticationMethodTypesResponse,
|
||||
} from "@zitadel/server";
|
||||
|
||||
export const zitadelConfig: ZitadelServerOptions = {
|
||||
@@ -303,7 +304,7 @@ export async function registerPasskey(
|
||||
*/
|
||||
export async function listAuthenticationMethodTypes(
|
||||
userId: string
|
||||
): Promise<any> {
|
||||
): Promise<ListAuthenticationMethodTypesResponse> {
|
||||
const userservice = user.getUser(server);
|
||||
return userservice.listAuthenticationMethodTypes({
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user