Skip to content

Commit 92aa86c

Browse files
author
Llorenç
committed
Init login funnel
1 parent bf57715 commit 92aa86c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/frontend/src/flows/authorize/postMessageInterface.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Types and functions related to the window post message interface used by
22
// applications that want to authenticate the user using Internet Identity
33
import { analytics } from "$src/utils/analytics/analytics";
4+
import { loginFunnel } from "$src/utils/analytics/loginFunnel";
45
import { type SignedDelegation as FrontendSignedDelegation } from "@dfinity/identity";
56
import { Principal } from "@dfinity/principal";
67
import { z } from "zod";
@@ -130,6 +131,8 @@ export async function authenticationProtocol({
130131
analytics.event("authorize-client-request-valid", {
131132
origin: requestOrigin,
132133
});
134+
// TODO: Add origin to login funnel
135+
loginFunnel.init();
133136

134137
const authContext = {
135138
authRequest: requestResult.request,

0 commit comments

Comments
 (0)