Skip to content

Latest commit

 

History

History

user-journey-timeout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Azure AD B2C: Measure the time of the user journey

This sample shows how to measure the time takes the user complete the sign-up or sign-in flow. You can change to policy to add a self-asserted technical profile when the validTimespan claim is False.

The time window is configure in seconds in the CompareStartAndEndTimes claims transformation. For more information, check the comments that start with 'Demo:'.

The sample starts checking the time before the first orchestration step, before the user signs-in. You can remove the first orchestration step and call the GetEndDateTime claims transformation from other technical profiles, such as SelfAsserted-LocalAccountSignin-Email output claims (after the sign-in is completed), or from the LocalAccountSignUpWithLogonEmail input claim (just before the sign-up starts.)