File tree Expand file tree Collapse file tree
src/frontend/src/flows/authorize Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Types and functions related to the window post message interface used by
22// applications that want to authenticate the user using Internet Identity
33import { analytics } from "$src/utils/analytics/analytics" ;
4+ import { loginFunnel } from "$src/utils/analytics/loginFunnel" ;
45import { type SignedDelegation as FrontendSignedDelegation } from "@dfinity/identity" ;
56import { Principal } from "@dfinity/principal" ;
67import { 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 ,
You can’t perform that action at this time.
0 commit comments