I am trying to build a custom UI for Auth0 MFA functionality. I would like to use my own UI (in a React application) to trigger MFA enrollment and challenges under certain conditions.
Following this tutorial (https://auth0.com/docs/mfa/authenticate-with-ropg-and-mfa), I can use the ‘Resource Owned Password’ flow to extract an MFA token for the database sign-in case. However, I am working on the social sign-in case now (specifically with the Google suite), and it is unclear to me how to extract the MFA token necessary to trigger QR enrollment and MFA challenges. The linked tutorial describes how to do it for the database connection case, but not the social sign-in case.
Does such an API for social sign-in exist? If so, can you give me an example (in code) how this is done?