Thanks for the response, but it unfortunately does not. The guide you posted only works when the login flow is invoked.
If you choose to selectively apply MFA, you will need the appropriate clientID values, and the code will be executed as part of a Rulewhenever a user logs in.
I want to also clarify a bit further - is it possible to invoke MFA without having to invoke Auth0 authentication? I have a very custom auth service that is unable to integrate into Auth0 as a connection or a custom OAuth2 app (but I would be creating users in Auth0 with profile information sync’d from the custom auth service), so I’m unable to use the Auth0 log-in portion, but still would like to use the MFA capabilities during specific actions in my app.
Okokok thanks for providing additional clarification.
It is not possible to invoke MFA without having to invoke Auth0 authentication. It is triggered via rules which always execute after successful authentication
As I said above the clue here is that it is not possible to invoke MFA without having to invoke Auth0 authentication. It is triggered via rules which always execute after successful authentication
If you want users to be always prompted for MFA on a call to whatever endpoints of an API you need to invoke Auth0 authentication each time calling the API.
If you want him to be faced with MFA whenever he makes the API call then you need to invoke an authentication flow → which will invoke MFA flow → then yep he will be prompted for MFA again