?auth0 redirection is not available on /oauth/token endpoint (sms-mfa)

I am interested in getting SMS Passwordless MFA working a la the auth0 github example at rules/redirect-rules/sms-mfa at master · auth0/rules · GitHub

I am using a custom login page, which is working fine.

I added the webtask and rule described in the github example, created the passwordless connection for the auth0 client, and linked the username/pw account with the passwordless sms account.

When I tried it, I got the error “auth0 redirection is not available on /oauth/token endpoint” after entering username/pw. Is there any way around this? It looks like one can do passwordless with a custom ui (based on https://auth0.com/docs/connections/passwordless/spa-sms/v8 ), and so maybe there’s a way to combine the two approaches here.

Thanks.