Way to force user to set initial password if never logged in before

Hi all,

My company is creating an app that is built using ionic 5 (capacitor) that utilizes the ionic Enterprise AuthConnect plugin to integrate with Auth0.

Question. Is there a way (extension/sdk) in Auth0 that can be used to detect if a user has never logged in before, and if so, redirect the user from the login screen to the password set screen (to force the user to set the initial password)?