mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 09:54:00 +00:00
passkey
This commit is contained in:
@@ -12,11 +12,16 @@ export default async function Page({
|
|||||||
}) {
|
}) {
|
||||||
const { loginName, promptPasswordless, organization, authRequestId } =
|
const { loginName, promptPasswordless, organization, authRequestId } =
|
||||||
searchParams;
|
searchParams;
|
||||||
|
let sessionFactors;
|
||||||
const sessionFactors = await loadMostRecentSession(sessionService, {
|
try {
|
||||||
|
sessionFactors = await loadMostRecentSession(sessionService, {
|
||||||
loginName,
|
loginName,
|
||||||
organization,
|
organization,
|
||||||
});
|
});
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
|
return <div>{JSON.stringify(error)}</div>;
|
||||||
|
}
|
||||||
|
|
||||||
const title = !!promptPasswordless
|
const title = !!promptPasswordless
|
||||||
? "Authenticate with a passkey"
|
? "Authenticate with a passkey"
|
||||||
|
|||||||
Reference in New Issue
Block a user